From 55d3ae6c334fc6ee599d3b2e415ed1b4f81a48f7 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 22 Dec 2020 23:32:35 +0100 Subject: Fix rotation of T piece Signed-off-by: Olivier Gayot --- cameltris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): -- cgit v1.2.3