diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-18 13:39:35 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-18 13:39:35 +0200 |
commit | a947010229c81872a28552bddc37a4761c3a575a (patch) | |
tree | 45868bd8b5a6c7fe7a7a7045ac0fe41998c4ee89 /src/miinaharava/bots/bot.py | |
parent | 024f743255a5335e0ff3448ab2ca799a74e538b4 (diff) |
Refactor & comment bots.
Diffstat (limited to 'src/miinaharava/bots/bot.py')
-rw-r--r-- | src/miinaharava/bots/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miinaharava/bots/bot.py b/src/miinaharava/bots/bot.py index 81f24d4..cfeedce 100644 --- a/src/miinaharava/bots/bot.py +++ b/src/miinaharava/bots/bot.py @@ -75,7 +75,7 @@ class Bot(): """ Palauttaa kysytyn laatan tiedot. """ return self.matrix[tile[0]][tile[1]] - def remove_number_tiles(self, tiles): + def remove_known_safe_tiles(self, tiles): """ Poistaa vapaat, vapaaksi merkityt ja numerolaatat joukosta. """ for tile in list(tiles): if self.matrix[tile[0]][tile[1]] < Tile.FLAG_MINE: |