diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-25 14:45:01 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-25 14:45:01 +0200 |
commit | 84ff4aa8fc7714b5841097e0dd800085982321e4 (patch) | |
tree | efff225e0312447de2d8282a61ea50b9eb29a140 /app.py | |
parent | 16c470e7782487db34c5af8dba3d4c427ff9e434 (diff) |
Implements levels to Board
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ """ app.py - pääohjelma """ -from board.board import Board +from board.board import Board, Level from tui.tui import Tui from game.game import Game #from bots.idiot import IdiotBot @@ -9,7 +9,7 @@ from bots.bad import BadBot class App: """ App - Luokka pääohjelmalle""" def __init__(self): - self.board = Board(30,16,99) + self.board = Board(level=Level.BEGINNER) self.bot = BadBot() self.ui = Tui(self.bot) self.game = Game(self.board,self.ui) |