From de4daa463d75403144ac63d3cd94aebf74fa0cb2 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Tue, 30 Jan 2024 14:27:28 +0200 Subject: Renaming bombs to mines. --- tui/tui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tui/tui.py') 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: -- cgit v1.2.3