summaryrefslogtreecommitdiff
path: root/game/game.py
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-29 02:34:32 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-29 02:34:32 +0200
commite591d15abc4943a74c39f0fcab065213828a1514 (patch)
treebc22931abb08d8c213ba4eb81a85298d69e88890 /game/game.py
parent0c034e6fbae0833f8524caf223deab450e9bb1b4 (diff)
Updating too much. Renewed bots and tui.
Diffstat (limited to 'game/game.py')
-rw-r--r--game/game.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/game/game.py b/game/game.py
index 76ee382..2a4efad 100644
--- a/game/game.py
+++ b/game/game.py
@@ -6,10 +6,7 @@ class Game:
def __init__(self, board, ui):
self.board = board
self.ui = ui
- self.x, self.y = self.ui.game_begin(
- self.board.get_width(),
- self.board.get_height()
- )
+ self.x, self.y = board.get_width()//2, board.get_height()//2
def __del__(self):