projects
/
naja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bastard merge
[naja.git]
/
naja
/
gamestate.py
1
"""
2
The current game state.
3
"""
4
5
from naja.gameboard import GameBoard
6
7
8
class GameState(object):
9
"""
10
Naja game state.
11
"""
12
13
def __init__(self):
14
self.gameboard = GameBoard.new_game(
15
locations_definition=[{'actions': []}]) # TODO: we will need some of these :)
16
17
@property
18
def player(self):
19
return self.gameboard.player