summaryrefslogtreecommitdiff
path: root/cameltris.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2020-12-22 23:32:35 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2020-12-22 23:33:47 +0100
commit55d3ae6c334fc6ee599d3b2e415ed1b4f81a48f7 (patch)
tree2a1f14461a616f0a63e7d78d62689cdc7f75dd04 /cameltris.py
parent392e231011805b710ffb7517e3d41d1446e23df5 (diff)
Fix rotation of T piece
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'cameltris.py')
-rwxr-xr-xcameltris.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cameltris.py b/cameltris.py
index 58de00e..7669dcf 100755
--- a/cameltris.py
+++ b/cameltris.py
@@ -133,7 +133,7 @@ class TPiece(Piece):
super().__init__()
self.square.fill(yellow)
- self.elements = [[self.square, self.square, self.square], [None, self.square, None], [None, None, None]]
+ self.elements = (None, None, None), (self.square, self.square, self.square), (None, self.square, None)
def refresh_game_canvas():