summaryrefslogtreecommitdiff
path: root/tui/tui.py
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-30 14:27:28 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-30 14:27:28 +0200
commitde4daa463d75403144ac63d3cd94aebf74fa0cb2 (patch)
tree943cfb0a53c98a0c2573fb748af29973e3642a39 /tui/tui.py
parent6d62f8c23e8ab76a2034dde08cff8302c9989fdc (diff)
Renaming bombs to mines.
Diffstat (limited to 'tui/tui.py')
-rw-r--r--tui/tui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/tui.py b/tui/tui.py
index 4409134..d32af71 100644
--- a/tui/tui.py
+++ b/tui/tui.py
@@ -66,7 +66,7 @@ class Tui():
match action:
case Action.QUIT:
return (action, x, y)
- case Action.OPEN | Action.FLAG | Action.BOMB | Action.SAFE:
+ case Action.OPEN | Action.FLAG | Action.MINE | Action.SAFE:
if matrix[x][y] >= 10:
return (action, x, y)
case Action.HINT: