From 84ff4aa8fc7714b5841097e0dd800085982321e4 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Thu, 25 Jan 2024 14:45:01 +0200 Subject: Implements levels to Board --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app.py') 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) -- cgit v1.2.3