Lengthened the timout in the beginning. It shortens as the game progresses to the old parameter.

This commit is contained in:
Storm Dragon 2019-12-06 19:36:25 -05:00
parent e5759094e4
commit eadb9c82ef

View File

@ -47,7 +47,13 @@ def game(mode):
taunt = monkey_taunt()
timeOut = time.time()
while lose == False:
if time.time() - timeOut > 1:
if spanks <= 10 and time.time() - timeOut > 3:
lose = True
continue
elif spanks > 10 and spanks <= 20 and time.time() - timeOut > 2:
lose = True
continue
elif spanks > 20 and time.time() - timeOut > 1:
lose = True
continue
event = pygame.event.poll()