From 2cc5862032760893e0ce76e247e7490b209432e1 Mon Sep 17 00:00:00 2001 From: kirbylife Date: Thu, 7 Nov 2019 00:21:19 -0600 Subject: [PATCH] commented the debugger --- afutc/game.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/afutc/game.py b/afutc/game.py index 40cdf33..bb9cc0b 100644 --- a/afutc/game.py +++ b/afutc/game.py @@ -114,13 +114,15 @@ class Afutc: self.pivot[1] += 1 def rotate(self): - if not self.debug: - self.debug = "-1" - self.debug = str(int(self.debug) + 1) + # if not self.debug: + # self.debug = "-1" + + # self.debug = str(int(self.debug) + 1) temp_board = self.current_move.copy() temp_board.fill(0.) temp_piece = self.current_piece.copy() pivot = self.pivot[:] + # Magic to rotate a matrix !!!!!! temp_piece = np.array(list(zip(*reversed(temp_piece))))