generated from mwc/project_game
Right now im trying to figure out why my target isnt showing up in the game how i will i get it to move how i want it
9 lines
279 B
Python
9 lines
279 B
Python
from retro.game import Game
|
|
from spaceship import Spaceship
|
|
from targets import Targets
|
|
|
|
board_size = (100, 25)
|
|
ship = Spaceship(board_size)
|
|
targets = Targets((board_size[0] // 2, 0))
|
|
game = Game([ship], {"score": 0}, board_size=board_size, color="white", debug=True)
|
|
game.play() |