generated from mwc/project_game
Add features--multiple fruits
This commit is contained in:
@@ -12,6 +12,6 @@ def play():
|
||||
Catcher((11, 29)),
|
||||
FruitManager(),
|
||||
]
|
||||
state = {'Score': 0}
|
||||
state = {'Score': 0, 'Lives': 5}
|
||||
game = Game(agents, state, board_size=(WIDTH, HEIGHT), framerate=24, color="white_on_indigo", dump_state="result.json")
|
||||
game.play()
|
||||
|
||||
Reference in New Issue
Block a user