aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-08-29 21:54:36 -0400
committerGravatar rcoh <rcoh@mit.edu>2011-08-29 21:54:36 -0400
commita05f255c5a86f7372fd81c0598fc9241f6049517 (patch)
treecad5cd5f1389bb1d291906d2112a16c2dfadbea4
parent1b787c74a082e10d17849c847644a8674b309f78 (diff)
fixes
-rw-r--r--renderer.py4
-rw-r--r--tetris.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/renderer.py b/renderer.py
index 7de33ac..a642000 100644
--- a/renderer.py
+++ b/renderer.py
@@ -25,8 +25,8 @@ class PygameGoodRenderer(Renderer):
"""
DISPLAY_SIZE = (1000,1000)
- OFFSET = (100, 100)
- SCALE = 15
+ OFFSET = (50, 50)
+ SCALE = 20
RADIUS = 6
def __init__(self):
diff --git a/tetris.py b/tetris.py
index 1d90d8d..b193696 100644
--- a/tetris.py
+++ b/tetris.py
@@ -20,9 +20,9 @@ from ddrinput import DdrInput
from ddrinput import DIRECTIONS
import pygame
-TIME_LIMIT = 4 * 60 #seconds
+TIME_LIMIT = 2 * 60 #seconds
LINES_TO_ADVANCE = 8 #num lines needed to advance to next level
-LEVEL_SPEEDS = [700,550,400,250,160,120]
+LEVEL_SPEEDS = [400,300,400,250,560,520]
MAXX = 10
MAXY = 18