summaryrefslogtreecommitdiff
path: root/tui
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-14 16:02:12 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-14 16:02:12 +0200
commit899d0997a6badae6535e9f69e0f6d70f3a272578 (patch)
tree05edf2028de4fa4294e5bcb8fd6c81bbdf849000 /tui
parent53eea87fe65c5c4f063664c424d4b49176a27984 (diff)
Adding the idiot bot for giving idiot hints.
Diffstat (limited to 'tui')
-rw-r--r--tui/tui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/tui.py b/tui/tui.py
index d884766..8521227 100644
--- a/tui/tui.py
+++ b/tui/tui.py
@@ -98,7 +98,7 @@ class Tui():
x = len(matrix)-1
case Action.HINT:
if self.bot is not None:
- return (Action.BOMB, 0, 0)
+ return self.bot.hint(matrix, x, y)
self.draw_matrix(matrix, x, y)