Go to file
Cory a94781aaa6 Completed the retro lab, making changes so it'd work.
In asteroid.py line 14, I changed HEIGHT to game.board_size[1]
In asteroid.py line 15 I changed game.remove_agent_by_name(self.name) to game.remove_agent(self)

Was the code given on the page supposed to work as
is? It read like it should have just been a copy+
paste+run, but I had to make the above changes to
do so. For example, I don't think asteroid objects
have names, so you can't remove them by name? And
nowhere was HEIGHT defined.
2024-04-08 10:58:40 -04:00
__pycache__ Completed the retro lab, making changes so it'd work. 2024-04-08 10:58:40 -04:00
asteroid.py Completed the retro lab, making changes so it'd work. 2024-04-08 10:58:40 -04:00
asteroid_spawner.py Completed the retro lab, making changes so it'd work. 2024-04-08 10:58:40 -04:00
nav_game.py Completed the retro lab, making changes so it'd work. 2024-04-08 10:58:40 -04:00
poetry.lock Initial commit 2023-08-25 14:34:57 +00:00
pyproject.toml Initial commit 2023-08-25 14:34:57 +00:00
spaceship.py Completed the retro lab, making changes so it'd work. 2024-04-08 10:58:40 -04:00
try.py Completed the retro lab, making changes so it'd work. 2024-04-08 10:58:40 -04:00