generated from mwc/project_game
Im stuck on testing my code Im worried my code isnt doing what i want it to but i cant test it to see
11 lines
274 B
Python
11 lines
274 B
Python
from retro.game import Game
|
|
from frog import Frog
|
|
from obstacle_spawner import ObstacleSpawner
|
|
|
|
board_size = (25, 25)
|
|
|
|
board_size = (25, 25)
|
|
froggy = Frog(board_size)
|
|
spawner = ObstacleSpawner()
|
|
game = Game([froggy, spawner], {"score": 0}, board_size=board_size)
|
|
game.play() |