aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Leah Alpert <lalpert@mit.edu>2011-08-29 18:00:00 -0700
committerGravatar Leah Alpert <lalpert@mit.edu>2011-08-29 18:00:00 -0700
commit5050c33c2df4d126b4dfa17b09379b6b5922e657 (patch)
treed2af4c9249b942c28ef5f62e0fd67041359b1787
parentfa0730910a13a392659e4a1cb050def524fc1b14 (diff)
use goodrenderer
-rw-r--r--tetris.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tetris.py b/tetris.py
index 1d58991..1d90d8d 100644
--- a/tetris.py
+++ b/tetris.py
@@ -12,6 +12,7 @@ Controls:
from time import sleep, time
import random
import sys
+from renderer import PygameGoodRenderer
from renderer import PygameRenderer
from renderer import LedRenderer
from tetris_shape import *
@@ -202,7 +203,7 @@ class TetrisGame(object):
#one-time initialization for gui etc
def __init__(self):
print "initialize tetris"
- self.gui = [PygameRenderer(), LedRenderer()]
+ self.gui = [PygameGoodRenderer(), LedRenderer()]
self.input = DdrInput()
while True:
self.init_game()