From 28d694cbb6aaf5d3a913e50066614ff5591c9827 Mon Sep 17 00:00:00 2001 From: Leah Alpert Date: Sun, 28 Aug 2011 10:29:00 -0700 Subject: Fixed bug with timing, changed level speeds --- tetris.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tetris.py b/tetris.py index 4d3bb8f..518f87f 100644 --- a/tetris.py +++ b/tetris.py @@ -171,7 +171,7 @@ class Player(): if (self.gs.level < NO_OF_LEVELS and self.score >= self.gs.thresholds[self.gs.level]): self.gs.level+=1 - self.gs.delay-=100 + self.gs.delay-=85 # Signal that the shape has 'landed' return False @@ -194,7 +194,7 @@ class GameState(): z_shape, s_shape,i_shape ] self.num_players = 0 self.level = 1 - self.delay = 800 + self.delay = 900 self.thresholds = range(0,100,10) self.state = "waiting" #states: waiting (between games), playing, ending self.winner = None #winning player id -- cgit v1.2.3