generated from mwc/lab_retro
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'
This commit is contained in:
BIN
blessed/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
blessed/__pycache__/_capabilities.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/_capabilities.cpython-310.pyc
Normal file
Binary file not shown.
BIN
blessed/__pycache__/color.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/color.cpython-310.pyc
Normal file
Binary file not shown.
BIN
blessed/__pycache__/colorspace.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/colorspace.cpython-310.pyc
Normal file
Binary file not shown.
BIN
blessed/__pycache__/formatters.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/formatters.cpython-310.pyc
Normal file
Binary file not shown.
BIN
blessed/__pycache__/keyboard.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/keyboard.cpython-310.pyc
Normal file
Binary file not shown.
BIN
blessed/__pycache__/sequences.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/sequences.cpython-310.pyc
Normal file
Binary file not shown.
BIN
blessed/__pycache__/terminal.cpython-310.pyc
Normal file
BIN
blessed/__pycache__/terminal.cpython-310.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user