Alien Invasion is a straight-forward shooter game where the player controls a rocket ship with the goal of attacking fleets of aliens that get faster as the game goes on. Made using Pygame, a cross-platform open-source Python library designed for writing video games.
Dependencies:
- Python 3
- Pygame (refer to the Pygame documentation on how to install)
Steps to Run:
- Download the project
- Run the alien_invasion.py file (example command:
python alien_invasion.py
)
Start the game by pressing the green play button. Use the left and right arrows to navigate the player ship. Shoot beams using the space bar and Q to exit the game. The game will end when all player lives are done.


The Python Crash Course, 3rd Edition textbook written by Eric Matthes was referred to when developing this game, specifically the Section II - Projects chapters.
Matthes, E. (2023). Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming. No Starch Press.
MIT License