This project is a recreation of the classic Space Invaders arcade game, developed using Python and Pygame. It captures the essence of the original gameplay, featuring waves of alien ships, lasers, and a dynamic scoring system. Players navigate a spaceship, defend against an alien invasion, and aim to achieve the highest score.
The game adheres to the original Space Invaders rules, incorporating features like:
- A dynamic scoring system, rewarding players for destroying alien ships and hitting UFOs for bonus points.
- Progressive difficulty: Aliens increase in speed as levels advance, adding to the challenge.
- Interactive barriers that degrade as they absorb laser hits, providing temporary protection.
- A game over condition when all lives are lost, with the highest score saved.
Developing this game provided an in-depth exploration of game development concepts such as:
- Collision detection for lasers, ships, and barriers.
- Timed sprite animations to replicate alien and ship movements.
- Game loops to manage real-time updates, including player input and alien behavior.
- Optimized controls for a smooth and engaging gameplay experience.
The project includes detailed instructions for setup and execution. A requirements file is provided, making it easy to install dependencies and run the game using:
python3 game.py