I like the Windows shutdown sound when you lose. It threw me for half a second.
Here's a basic framework to get you started, and then a link to the manual that I use for Tkinter:
from Tkinter import *
mainw = Tk()
mainw.frame = Frame(mainw)
mainw.frame.label = Label(mainw.frame,text="Guess a Number!")
mainw.frame.label.grid(row=0,column=0)
mainw.frame.entry = Entry(mainw.frame)
mainw.frame.entry.grid(row=0,column=1,columnspan=2)
mainw.frame.text = Text(mainw.frame,width=35,height=10)
mainw.frame.text.grid(row=1,columnspan=2)
mainw.frame.scroll = Scrollbar(mainw.frame,orient=VERTICAL,
command=mainw.frame.text.yview)
mainw.frame.text['yscrollcommand']=mainw.frame.scroll.set
mainw.frame.scroll.grid(row=1,column=2,sticky=N+S)
mainw.frame.rbutton = Button(mainw.frame,text="Restart")
mainw.frame.rbutton.grid(row=2,column=0,sticky=E+W)
mainw.frame.qbutton = Button(mainw.frame,text="Quit")
mainw.frame.qbutton.grid(row=2,column=1,sticky=E+W)
mainw.frame.grid()
mainw.mainloop()
http://www.nmt.edu/tcc/help/pubs/tkinter/
http://www.nmt.edu/tcc/help/pubs/tkinter.pdf
Just as general pointers:
* You'll need to figure out how to disable the Text widget so the user can't type into it.
* You'll need to figure out how to bind the <Return> key to the Entry widget so that the user can hit Enter and get the appropriate obnoxious message from the program :lol:
* You'll probably want to configure the app differently so it looks better.
* You'll need to figure out how to supply callbacks to the Reset and Quit buttons.
Hope it helps, and post your final product!
Jeff