GitHunt
XE

XeAqdas/Alien-Invasion

Inspired, with lots of modifications, from popular book Python Crash Course by Eric Matthes.

Alien Invasion ๐Ÿš€

A classic arcade-style space shooter built with Python and the Pygame library. This project is a fully functional game where the player controls a ship to shoot down an invading fleet of aliens.


Features โœจ

  • Player-controlled spaceship with left/right movement and firing capabilities.
  • A fleet of aliens that moves across and down the screen.
  • Scorekeeping, including a high-score(mid-top) display that persists across games (top-right).
  • Increasing difficulty: the game speeds up as you clear levels.
  • A lives system to track the player's remaining ships (top-left).

How to Play ๐ŸŽฎ

To run this game on your local machine, follow these steps:

Prerequisites:

  • Python 3 installed on your system.
  • Pygame library.

Installation:

  1. Clone this repository or download the source code.
  2. Install Pygame by running this command in your terminal:
    pip install pygame
  3. Navigate to the project directory and run the main game file:
    python main.py

Screenshots ๐Ÿ“ธ

Screenshot (98)

Languages

Python100.0%

Contributors

MIT License
Created September 14, 2025
Updated January 3, 2026