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:
- Clone this repository or download the source code.
- Install Pygame by running this command in your terminal:
pip install pygame
- Navigate to the project directory and run the main game file:
python main.py