A nostalgic Space Invaders-style arcade shooter built with Python and Pygame.
Dodge enemy fire, blast alien invaders, and rack up your high score in this fast-paced retro game!
- ๐น๏ธ Player Movement โ Smooth left/right keyboard navigation
- ๐ซ Shooting Mechanics โ Fire lasers to destroy incoming enemies
- ๐พ Enemy Waves โ Classic alien formation with animated movement and descent
- ๐ง Basic AI โ Enemies move in patterns and fire back
- ๐ฏ Scoring System โ Track your kills and top your high score
- ๐ฅ Explosions & Effects โ Sprite animations and sound effects on impact
- ๐ Background Music โ Immersive arcade atmosphere
- ๐ Pause/Restart โ Game loop control for smooth gameplay
- Language: Python 3.10+
- Library: Pygame 2.5+
- Environment: Virtual Environment (
venv) - Audio/Visual: Pygame Mixer for sounds and sprite handling
Follow these steps to run the game locally:
git clone https://github.com/your-username/space-invaders.git
cd space-invaderspython -m venv venv
venv\Scripts\activate
source venv/bin/activatepip install -r requirements.txt pip install pygame
python main.py
| Key | Action |
|---|---|
| โ / โ | Move left/right |
| SPACE | Fire laser |
| ESC | Pause / Resume |
| Q | Quit game |
This project is licensed under the MIT License โ see the LICENSE file for details.
Built with ๐ป + ๐จ + ๐ง by PaulJkr