A classic arcade-style game implemented in Python using the Pygame library. Blast through waves of alien invaders while avoiding their projectiles to achieve the highest score!
- Player Ship: Control the player ship using the left and right arrow keys to dodge alien attacks.
- Alien Invaders: Defend against waves of alien invaders descending from the top of the screen.
- Bullets: Fire bullets from the player ship to destroy approaching aliens.
- Score Counter: Keep track of your score as you destroy more enemy ships.
- Game Over: The game ends when an alien reaches the bottom of the screen or collides with the player ship.
- Use the left and right arrow keys to move the player ship.
- Press the spacebar to fire bullets at the aliens.
- Clone this repository:
git clone https://github.com/username/Space-Invaders.git
- Install Pygame:
pip install pygame
- Run the game:
python space_invaders.py
- Dodge alien attacks while shooting them down to increase your score.
- The game ends when an alien reaches the bottom of the screen or collides with your ship.