summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-17 13:16:56 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-17 13:16:56 +0200
commit9acab08eeede3a3c065057d4466ccaef2035b55d (patch)
tree9145cf28a8dfe2e4dc5eb0aea587bdd35c7ac1ca /app.py
parent823877510422f6ce2952de5cc40edd0d62d813e4 (diff)
Making board compatible with non square playing areas like expert 30x16.
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 7ef3876..9b9d3d0 100644
--- a/app.py
+++ b/app.py
@@ -9,7 +9,7 @@ from bots.bad import BadBot
class App:
""" App - Luokka pääohjelmalle"""
def __init__(self):
- self.board = Board()
+ self.board = Board(30,16,99)
self.bot = BadBot()
self.ui = Tui(self.bot)
self.game = Game(self.board,self.ui)