This is Patricio Cubillos' implementation of Space Invaders.
<img src="https://github.com/pcubillos/space-invaders/blob/master/screenshots/youtube_screenshot.jpg" alt=""border="10" />
The game comes with three levels of difficulty, it gets harder as you advance the stages, the player can grab special weapons as you kill aliens, The best at each difficulty level scores are stored. Download the source code as a zip file by clicking here
Or execute this command from the terminal:
No rights are reserved, you are free to build upon my code and make your own version. All resources (font, image, sounds) were obtained freely from the internet.
Python (http://www.python.org/) and Pygame (http://www.pygame.org/docs/).
To start playing, simply open your terminal, go to the directory where the game is located, and type:
python space.py
Controls | Key |
---|---|
move left | left arrow |
move right | right arrow |
shoot | space bar |
laser | x |
cluster bomb | c |