Skip to content

masaaldosey/space-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

space invaders

game play

Usage

This is the classic game of space invaders. To play, open terminal and run,

pip install -r requirements.txt
python space_invaders.py

This will case a new window to pop-up. The player ship is on the bottom and enemy ships attack from the top. Play using the up-down-left-right arrow keys. Use spacebar to shoot.

There are several parameters that can be modified in SpaceInvadersGame.init() - player/enemy ship speed, number of frames per second, game window size. I recently got into gaming and wanted to try out game development first-hand as a hobby. This game is a very very small step towards it.

Setup

Built with:

  • python 3.9.5
  • numpy 1.20.3
  • pygame 2.0.1

If there are any issues feel free to let me know, either by opening an issue or emailing me at [email protected]. Enjoy!

About

classic space invaders game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages