we didnt even write it a good 99% of it was copy and paste.

This commit is contained in:
cdonahue
2025-11-17 09:47:12 -05:00
parent ab49fda2bf
commit ac50df18d5
7 changed files with 65 additions and 16 deletions

View File

@@ -1,4 +1,9 @@
# nav_game.py
# ------------
# By MWC Contributors
# This class implements a simple game where a spaceship avoids asteroids.
from retro.game import Game
from spaceship import Spaceship
from asteroid_spawner import AsteroidSpawner
board_size = (25, 25)
ship = Spaceship(board_size)
spawner = AsteroidSpawner(board_size)
game = Game([ship, spawner], {"score": 0}, board_size=board_size)
game.play()