Factor out flash light into utils.
[naja.git] / naja / scenes / new_game.py
index da41c01e773d8f52fe24b03a4b41df4ea30b6d02..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='test_puzzle', max_health=4, wins_required=4))
-
     def start_game(self, state):
         from naja.scenes.game import GameScene
         LoadGameEvent.post(state=state)