diff options
Diffstat (limited to 'logic.py')
| -rw-r--r-- | logic.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -39,7 +39,9 @@ class MinesweeperLogic: HEIGHT = 0 BOMBS = 0 SEED = 0 - MOVES = [] + + def __init__(self): + self.MOVES = [] def do_all_moves(self): for move in self.MOVES: @@ -106,6 +108,7 @@ class MinesweeperLogic: self.WIDTH = width self.HEIGHT = height self.BOMBS = bombs + self.MOVES = [] self.setup() self.do_first_move() |
