Skip to content

This game, Alien Invasion, is created after the popular "Space Invaders". Most of the code here is from Eric Matthes' "Python Crash Course", though I have added some gameplay and aesthetic changes.

Notifications You must be signed in to change notification settings

rzhou57/Alien-Invasion

Repository files navigation

Alien-Invasion 🚀

This game, Alien Invasion, is created after the popular "Space Invaders". Most of the code here is from Eric Matthes' "Python Crash Course", though I have added some gameplay and aesthetic changes. Alien Invasion Start Screen

The only major game play changes include:

  • Enemies are now able to shoot back
  • Reduced the number of lives by one to make gameplay more challenging
  • Added a feature that saves the high score so it isn't reset each time you start the game

Aesthetic Changes:

Game Description 👽

Python 3 is required.

To move the ship right or left, use the corresponding arrow keys and shoot bullets using the spacebar. When the game begins, a fleet of aliens appears at the top and moves across and down the screen. After each fleet is destroyed, a new fleet appears that will be faster than the previous one. Once an alien reaches the bottom of the screen, or hits the player's ship with a bullet, then the player loses a ship. Once the player loses all his ships, the game is over.

Cloning the game for yourself 🎮

$ git clone https://github.com/bryanlds/Alien-Invasion.git

$ cd Alien-Invasion

To run:

python alien_invasion.py

Have Fun!

About

This game, Alien Invasion, is created after the popular "Space Invaders". Most of the code here is from Eric Matthes' "Python Crash Course", though I have added some gameplay and aesthetic changes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages