summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.py b/app.py
index 9b9d3d0..3f77341 100644
--- a/app.py
+++ b/app.py
@@ -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)