TH
the-vindex/bootdev-asteroids
Asteroids Game
Instructions for the Coding Assistant
- When adding new game objects, make sure they inherit from the
pygame.sprite.Spriteclass. - Use the
pygame.sprite.Groupclass to manage groups of game objects. - All game objects should have a
drawmethod. - Create a new file called
game_object.pythat contains a base class for all game objects. The class should be calledGameObjectand should inherit frompygame.sprite.Sprite. - The
GameObjectclass should have adrawmethod that takes asurfaceargument.