Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.27 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.27 KB

alien_invasion

Alien Invasion game developed using Python and the Pygame library. In this game, players control a spaceship to defend against waves of invading aliens. The objective is to shoot down as many aliens as possible while avoiding collisions and staying alive.

Alt Text

Key Features:

Player Controls: Use arrow keys to move the spaceship horizontally and vertically. Press the spacebar to shoot bullets at the aliens.

Alien Waves : Waves of aliens move across the screen, descending closer to the player's spaceship. Your goal is to eliminate as many aliens as you can before they reach the bottom of the screen.

Score Tracking: Keep track of your score as you shoot down aliens. Score points are awarded for each alien destroyed.

Game Over: The game ends when the player's spaceship collides with an alien or when the aliens reach the bottom of the screen. Your highest score is recorded for future reference.

How to Play:

  • Clone this repository to your local machine.
  • Ensure you have Python and Pygame installed.
  • Run the alien_invasion.py script to start the game.
  • Use arrow keys to move the spaceship and the spacebar to shoot bullets.
  • Aim to achieve the highest score by shooting down as many aliens as possible without getting hit.