Skip to content

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.

Notifications You must be signed in to change notification settings

Tynoee/alien_invasion

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages