projects
/
naja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4e892f883ef4cf7ab456a871cda2a13f37c5ca7b
[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=[]) # TODO: we will need some of these :)
16
17
@property
18
def player(self):
19
return self.gameboard.player