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. --- app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app.py') diff --git a/app.py b/app.py index 977e6c3..d8ca622 100644 --- a/app.py +++ b/app.py @@ -2,13 +2,15 @@ from board.board import Board from tui.tui import Tui from game.game import Game +from bots.idiot import IdiotBot # pylint: disable = too-few-public-methods class App: """ App - Luokka pääohjelmalle""" def __init__(self): self.board = Board() - self.ui = Tui("just testing bot here") + self.bot = IdiotBot() + self.ui = Tui(self.bot) self.game = Game(self.board,self.ui) def run(self): -- cgit v1.2.3