A classic Space Invaders game built with MonoGame.
- Single Player mode
- Two Player mode with shared lives
- 4 Levels with increasing difficulty
- Mother Ship that appears randomly
- 3 Barriers that degrade with use
- Sound Effects for all actions
- Pause Menu with game instructions
- Settings Menu to adjust volumes
- Keyboard Controls for navigation and gameplay
| Action | Player 1 | Player 2 |
|---|---|---|
| Move Left | ← | A |
| Move Right | → | D |
| Shoot | Space | K |
| Pause | P | P |
| Mute Sound | M | M |
| Action | Keys |
|---|---|
| Navigate Up | ↑ |
| Navigate Down | ↓ |
| Select Option | Enter |
| Back / Exit | Escape |
-
Prerequisites
-
Clone the repository
git clone <repository-url> cd space-invaders
-
Run the game
dotnet run --project Invaders
space-invaders/
├── Invaders/ # Game code
│ ├── Content/ # Game assets
│ ├── Screens/ # Game screens
│ ├── Sprites/ # Game sprites
│ └── ...
├── Infrastructure/ # Reusable components
│ ├── Managers/ # Managers (Input, Sounds, etc.)
│ ├──ObjectModel/ # Game objects (Screens, Sprites, etc.)
│ └── ...
├── Invaders.sln # Solution file
└── README.md # This file