Files
project_game/game.py
2026-01-09 09:49:15 -05:00

16 lines
324 B
Python

from random import randint
from retro.game import Game
from catcher import Catcher
from manager import FruitManager
WIDTH = 27
HEIGHT = 30
agents = [
Catcher((11, 29)),
FruitManager(),
]
state = {'Score': 0}
game = Game(agents, state, board_size=(WIDTH, HEIGHT), framerate=24, color="white_on_indigo")
game.play()