Skip to content

AlexxConst/Alien_Invasion_Game

Repository files navigation

🚀 Alien Invasion (Pygame)

Alien Invasion is a 2D arcade-style game built with Python and Pygame.
The player controls a spaceship, shoots waves of aliens, and earns points while progressing through increasingly difficult levels.

This project was created for learning purposes to practice Python, object-oriented programming, and game development fundamentals.


🎮 Gameplay

  • Control a spaceship using the keyboard
  • Shoot aliens and clear enemy waves
  • Increasing difficulty with each level
  • Life system
  • Score, high score, and level tracking
  • Game Over screen with a Play button

🛠 Technologies Used

  • Python 3
  • Pygame
  • Object-Oriented Programming (OOP)

⌨️ Controls

  • Left / Right Arrow — move the ship
  • Space — shoot
  • Q — quit the game
  • Play — start a new game

📊 Implemented Features

  • Collision detection (bullets ↔ aliens, ship ↔ aliens)
  • Progressive difficulty scaling
  • Bullet limit system
  • On-screen display of:
    • current score
    • high score
    • current level
    • remaining lives (ship icons)

▶️ How to Run 1. Install Python 3.x 2. Install Pygame:

pip install pygame

  1. Run the game:

python alien_invasion.py

📷 Screenshot

Alien Invasion Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages