Add a puzzle selection screen
[naja.git] / naja / scenes / new_game.py
index 1b74d6164613ab467b951f23b27b82ce72bf3b21..9db6395ffe535f39dda0b65954ad578607a8e9a8 100644 (file)
@@ -61,13 +61,6 @@ class NewGameScene(Scene):
         hard.add_callback('click', self.hard_game)
         selector.add(hard)
 
-        y_offset += y_diff
-        puzzle = TextWidget(
-            (x_offset, y_offset), 'Puzzle', fontsize=32, colour='white',
-            centre=True)
-        puzzle.add_callback('click', self.puzzle_game)
-        selector.add(puzzle)
-
     def easy_game(self, event):
         self.start_game(GameState.new(max_health=5, wins_required=3))
 
@@ -77,10 +70,6 @@ class NewGameScene(Scene):
     def hard_game(self, event):
         self.start_game(GameState.new(max_health=3, wins_required=5))
 
-    def puzzle_game(self, event):
-        self.start_game(GameState.new(
-            deck='puzzles/test', max_health=4, wins_required=4))
-
     def start_game(self, state):
         from naja.scenes.game import GameScene
         LoadGameEvent.post(state=state)