From eadb9c82efebbd52131d5f60b4000e1b176a2a37 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 6 Dec 2019 19:36:25 -0500 Subject: [PATCH] Lengthened the timout in the beginning. It shortens as the game progresses to the old parameter. --- monkeyspank | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/monkeyspank b/monkeyspank index e2beaf1..ef1fff3 100755 --- a/monkeyspank +++ b/monkeyspank @@ -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()