I need to combine python turtle and tkinter for tic tac toe game, I looked at some sites and tried, but it didn't worked as I imagine, so I need help. Code:
from turtle import *
from circle import Tac
from cross import Tic
from tkinter import *
screen = Screen()
screen.title("Tic Tac Toe")
screen.setup(width=300, height=500)
tim = Turtle()
board = "board.gif"
screen.addshape(board)
img_turtle = Turtle()
img_turtle.shape(board)
screen.listen()
tim.penup()
tim.seth(0)
Code I want to add:
button1 = Button(text="button", command=tic.one)
button1.place(x=-70, y=42)