commented the debugger

master
kirbylife 2019-11-07 00:21:19 -06:00
parent 9ab42452da
commit 2cc5862032
1 changed files with 5 additions and 3 deletions

View File

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