Skip to content

A small space invaders game that I made when I was learning pygame in '18.

Notifications You must be signed in to change notification settings

AdityaYadavalli1/Space-Invaders

Repository files navigation

Space Invaders

Instructions to run

  1. git clone https://github.com/AdityaYadavalli1/Space-Invaders.git
  2. cd Space-Invaders
  3. python3 game.py

Game Description

There are majorly two kinds of missiles the player can shoot.

  • Missile 1 kills the alien in one go.
  • Missile 2 slows down the alien. Then, after that missile 1 needs to be used in order to shoot down the alien. Advantage of missile 2 is it is faster. Also, for the convenience of the player, once an alien is shot by missile 2, the appearance of the alien is changed.

Controls

  • Press A to go left
  • Press D to go right
  • Press Spacebar to shoot one kind of missile (missile 1)
  • Press S to shoot another kind of missile (missile 2)
  • Press P to know your current score
  • Press Q to exit

Note: If you are using MACOS Catalina/Mojave please use the following command to install pygame: pip3 install pygame==2.0.0.dev6

About

A small space invaders game that I made when I was learning pygame in '18.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages