Go to file
root 52c1128ed4 When I run the game, it works for a bit but then when the first asteroid
gets to the bottom I get this:

Traceback (most recent call last):
  File "/root/making_with_code/mwc1/unit3/lab_retro/nav_game.py", line 14, in <module>
    game.play()
  File "/root/making_with_code/mwc1/unit3/lab_retro/retro/game.py", line 80, in play
    agent.play_turn(self)
  File "/root/making_with_code/mwc1/unit3/lab_retro/asteroid.py", line 16, in play_turn
    game.remove_agent_by_name(self.name)
AttributeError: 'Asteroid' object has no attribute 'name'
2024-12-12 16:42:57 -05:00
__pycache__ When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00
blessed When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00
retro When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00
.commit_template Initial commit 2024-08-28 01:20:05 +00:00
asteroid.py When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00
asteroid_spawner.py When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00
example_game.py When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00
nav_game.py When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00
poetry.lock Initial commit 2024-08-28 01:20:05 +00:00
pyproject.toml Initial commit 2024-08-28 01:20:05 +00:00
spaceship.py When I run the game, it works for a bit but then when the first asteroid 2024-12-12 16:42:57 -05:00