summaryrefslogtreecommitdiff
path: root/game/game.py
diff options
context:
space:
mode:
Diffstat (limited to 'game/game.py')
-rw-r--r--game/game.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/game.py b/game/game.py
index 5ccbab9..4420aed 100644
--- a/game/game.py
+++ b/game/game.py
@@ -6,7 +6,10 @@ class Game:
def __init__(self, board, ui):
self.board = board
self.ui = ui
- self.x, self.y = self.ui.game_begin(self.board.size)
+ self.x, self.y = self.ui.game_begin(
+ self.board.get_width(),
+ self.board.get_height()
+ )
def __del__(self):