2 The current game state.
5 from naja.gameboard import GameBoard
6 from naja.constants import BITS
9 class GameState(object):
15 # This is a very simple deck to allow testing more drawing logic
16 # on tiles. These will need to be replaced with better stuff.
17 self.gameboard = GameBoard.new_game(
18 locations_definition=[
20 {'actions': [{'required_bits': [BITS['CYAN']],
21 'action_class': 'DoNothing'}]},
22 {'actions': [{'required_bits': [BITS['YELLOW']],
23 'action_class': 'DoNothing'}]},
24 {'actions': [{'required_bits': [BITS['YELLOW'], BITS['MAGENTA']],
25 'action_class': 'DoNothing'}]},
30 return self.gameboard.player