generated from mwc/project_game
10 lines
258 B
Python
10 lines
258 B
Python
from retro.game import Game
|
|
from player import Player
|
|
from food import Food
|
|
|
|
board_size = (100, 25)
|
|
food = Food(board_size)
|
|
|
|
player = Player(board_size)
|
|
game = Game([player, food],{"score": 0}, board_size=board_size, color="pink", debug=True,)
|
|
game.play() |