Re: [Tutor] Whack-a-mole

2014-10-01 Thread Alan Gauld
On 01/10/14 16:59, Ben Smith wrote: Hi, Can anyone help explain why you can keep hitting the Mole even when hittable should be False? I can't. I can hit it 3 seconds after hitting Start then it turns un-hittable and the secs counter keeps counting but nothing else responds until you close th

[Tutor] Whack-a-mole

2014-10-01 Thread Ben Smith
Hi, Can anyone help explain why you can keep hitting the Mole even when hittable should be False? from tkinter import * root = Tk() #root.state('zoomed') sec = 0 points=0 pic=PhotoImage(file='Dirt.gif') pic2=PhotoImage(file='Mole.gif') hittable=False def HIT(): if hittable==True: gl