generated from mwc/project_game
I will finish the rest of the project at home
This commit is contained in:
3
game.py
3
game.py
@@ -2,6 +2,7 @@ from random import randint
|
||||
from retro.game import Game
|
||||
from catcher import Catcher
|
||||
from manager import FruitManager
|
||||
import json
|
||||
|
||||
WIDTH = 27
|
||||
HEIGHT = 30
|
||||
@@ -13,4 +14,4 @@ agents = [
|
||||
|
||||
state = {'Score': 0}
|
||||
game = Game(agents, state, board_size=(WIDTH, HEIGHT), framerate=24, color="white_on_indigo")
|
||||
game.play()
|
||||
game.play()
|
||||
Reference in New Issue
Block a user