Add scaffolding for puzzle levels (no actual puzzle support yet).
[naja.git] / naja / gamestate.py
index 134fba3bad70649c1ed39b6bc08c1c2b535839d0..c3bc0ce96b75c27bd14bbe49b3daad3c20ee0ef9 100644 (file)
@@ -22,8 +22,8 @@ class GameState(object):
         self.gameboard = gameboard
 
     @classmethod
-    def new(cls, **kw):
-        locations_deck = load_location_deck('standard')
+    def new(cls, deck='standard', **kw):
+        locations_deck = load_location_deck(deck)
         return cls(GameBoard.new_game(locations_deck['cards'], **kw))
 
     @classmethod