Код не много написан сделал меню . во 2 окне только оформление не знаю с чего начать и как написать буду рад если поможете

from tkinter import * import math from tkinter.messagebox import * import math import random def playd(): win.destroy() win2=Tk() canva2=Canvas(win2,width=400,height=400,bg="Green") # fon okna canva2.pack(expand=YES,fill=BOTH) c=Canvas(win2,width=50,height=50) #razmer c.pack(expand=YES,fill=BOTH) img=PhotoImage(file='blue.png') #objekt c.create_image(0, 0, image=img, anchor=NW) c.place(x=200,y=500) cz=Canvas(win2,width=50,height=50) #razmer cz.pack(expand=YES,fill=BOTH) imgz=PhotoImage(file='yellow.png') #objekt cz.create_image(0, 0, image=imgz, anchor=NW) cz.place(x=600,y=100) labb=Label(win2, text="Score: \n", font="Arrial 17", bg="Green" ) labb.place(x=350,y=10) win2.title("Catch a square") win2.resizable(width=FALSE,height=FALSE) win2.minsize(width=800,height=600) win2.mainloop() def close(): if askyesno("Exit","Are you sure?"): win.destroy() win=Tk() win.title("Start Menu") canva=Canvas(win,width=400,height=400,bg="Light Blue") canva.pack(expand=YES,fill=BOTH) win.minsize(width=400,height=400) win.resizable(width=FALSE,height=FALSE) but=Button(win, text="Начать игру" ,width=25,height=5, bg="green", command=playd) but.place(x=100,y=100) but2=Button(win, text="Выйти из игры" ,width=25,height=5, bg="green", command=close) but2.place(x=100,y=200) lab=Label(win, text="Catch a square \n", font="Arrial 17", bg="Light Blue" ) lab.place(x=120,y=20)