diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-14 16:02:12 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-14 16:02:12 +0200 |
commit | 899d0997a6badae6535e9f69e0f6d70f3a272578 (patch) | |
tree | 05edf2028de4fa4294e5bcb8fd6c81bbdf849000 /app.py | |
parent | 53eea87fe65c5c4f063664c424d4b49176a27984 (diff) |
Adding the idiot bot for giving idiot hints.
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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): |