projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add scaffolding for puzzle levels (no actual puzzle support yet).
[naja.git]
/
naja
/
gamestate.py
diff --git
a/naja/gamestate.py
b/naja/gamestate.py
index 134fba3bad70649c1ed39b6bc08c1c2b535839d0..c3bc0ce96b75c27bd14bbe49b3daad3c20ee0ef9 100644
(file)
--- a/
naja/gamestate.py
+++ b/
naja/gamestate.py
@@
-22,8
+22,8
@@
class GameState(object):
self.gameboard = gameboard
@classmethod
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
return cls(GameBoard.new_game(locations_deck['cards'], **kw))
@classmethod