Alien Invasion is a classic arcade-style shooter game built with Python and Pygame.
Take control of a spaceship, blast waves of descending aliens, dodge attacks, and protect the Earth in this high-energy 2D space shooter.
Built as a GUI-based game project to sharpen Python programming and game development skills.
- Control a spaceship using arrow keys or WASD.
- Fire bullets to destroy waves of incoming aliens.
- Increasing difficulty as levels progress.
- Lose lives when aliens reach the bottom or crash into your ship.
- Your mission: Survive and set the highest score possible!
| Component | Description |
|---|---|
| Python | Programming language (v3.8+) |
| Pygame | Library for 2D graphics, game loop, and event handling |
| OOP | Classes for ship, aliens, bullets, game settings |
| GUI | Real-time display using Pygame’s blit/render engine |
Make sure you have Python 3.9+ and pip installed. Clone & Run
pip install pygame
git clone https://github.com/yourusername/alien-invasion.git
cd alien-invasion
python alien_invasion.py