A classic arcade-style Space Invaders game built using Python and Pygame. In this game, players control a spaceship to defend Earth from waves of invading aliens. Destroy as many aliens as possible while avoiding enemy fire.
Player Spaceship: Move left and right and shoot bullets to eliminate enemies.
Alien Waves: Multiple rows and columns of aliens that descend and fire at the player.
Bullets: Player and alien bullets with collision detection.
Explosions: Visual and sound effects for when enemies, bullets, or the player are destroyed.
Health System: The player's spaceship health bar decreases when hit by alien bullets.
Game Over: Lose the game when health is depleted or win by destroying all aliens.
Sound Effects: Immersive laser and explosion sounds.
Install Python (3.6 or higher) from python.org.
Install the Pygame library:
pip install pygame
Clone this repository or download the source code:
git clone https://github.com/yourusername/space-invaders.git
Ensure all game assets (images and sound files) are located in an alien/ directory in the same folder as the script.