summaryrefslogtreecommitdiff
path: root/app.py
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 /app.py
parent53eea87fe65c5c4f063664c424d4b49176a27984 (diff)
Adding the idiot bot for giving idiot hints.
Diffstat (limited to 'app.py')
-rw-r--r--app.py4
1 files changed, 3 insertions, 1 deletions
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):