- Python and Pygame
- VS Code (Preferred)
This video game project is to see how long you can stay alive and protect the Earth! The player must shoot the enemies before they go past them, and at the same time, try not to crash into the enemies. The only ways for the player to lose lives are to let asteroids pass by them or get hit by asteroids. Once the player loses 3 lives, the game is over.
To play this game, you must shoot enemy ships to survive. To spawn bullet 1, press “a” on your keyboard; to spawn bullet 2, press “d” on your keyboard. To go up, press “w” on your keyboard; to go down, press “s” on your keyboard.
- (P1) User-Controlled Character (↑ - “d” Key, → - ↓“s” Key)
- (P1) Random Obstacles
- (P1) Collision Detection
- (P1) Shooting ( Bullet 1 - “a” key, Bullet 2 - “d” key)
- (P2) Game Background
- (P2) Life Display
- (P3) Time Alive Display
- (P2) Game Title
- (P2) Play/Start Button
- (P3) Controls/Help Button
- (P4) Exit Button
- (P4) Start Background
- (P2) Game Over Text
- (P2) Restart Button
- (P3) Total Time Alive
- (P3) Help/Controls Text
- (P3) Back Button
- (P4) Controls Background
