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))))