From 899d0997a6badae6535e9f69e0f6d70f3a272578 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Sun, 14 Jan 2024 16:02:12 +0200 Subject: Adding the idiot bot for giving idiot hints. --- 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 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) -- cgit v1.2.3