self.gameboard = GameBoard.new_game(
locations_definition=[
{'actions': []},
- {'actions': [{'required_bits': [BITS['CYAN']],
+ {'actions': [{'required_bits': [BITS.CYAN],
'action_class': 'DoNothing'}]},
- {'actions': [{'required_bits': [BITS['YELLOW']],
+ {'actions': [{'required_bits': [BITS.YELLOW],
'action_class': 'DoNothing'}]},
- {'actions': [{'required_bits': [BITS['YELLOW'], BITS['MAGENTA']],
+ {'actions': [{'required_bits': [BITS.YELLOW, BITS.MAGENTA],
'action_class': 'DoNothing'}]},
])
BIT_MAP = {
- BITS['CYAN']: 'board/tile_cyan.png',
- BITS['MAGENTA']: 'board/tile_magenta.png',
- BITS['YELLOW']: 'board/tile_yellow.png',
+ BITS.CYAN: 'board/tile_cyan.png',
+ BITS.MAGENTA: 'board/tile_magenta.png',
+ BITS.YELLOW: 'board/tile_yellow.png',
}