diff options
Diffstat (limited to 'bots/simple.py')
-rw-r--r-- | bots/simple.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bots/simple.py b/bots/simple.py index cb3d25c..54e2d05 100644 --- a/bots/simple.py +++ b/bots/simple.py @@ -12,13 +12,13 @@ class SimpleBot(Bot): c = self.get_value(tile) n = self.get_neighbours(tile) self.remove_number_tiles(n) - c -= self.remove_bomb_tiles(n) + c -= self.remove_mine_tiles(n) if c == 0: for safe in n: self.safe_tiles.add(safe) if c == len(n): - for bomb in n: - self.bomb_tiles.add(bomb) + for mine in n: + self.mine_tiles.add(mine) return self.saved_hints() def lucky_guess(self): |