Alien Invasion is a fast-paced 2D arcade shooter where you defend Earth from waves of descending alien fleets. This project is an implementation from the book "Python Crash Course" by Eric Matthes.
Take control of a powerful spaceship to shoot down aliens before they reach you. As you progress, the challenge intensifies!
- Objective: Shoot down all aliens in the fleet to advance to the next level.
- Difficulty Scaling: The aliens' movement speed increases with every level you clear.
- Scoring: Earn points for every alien ship destroyed.
- Lives: You start with 3 spaceships. If an alien touches your ship or reaches the bottom of the screen, you lose a ship.
- Game Over: When all 3 chances are gone, the game ends.
This game is built with Python and the Pygame library.
- Clone the repository:
git clone https://github.com cd alien-invasion - Install Pygame:
pip install pygame
- Run the Game:
python alien_invasion.py
This project is an implementation of the "Alien Invasion" project from the book:
- Book: Python Crash Course: A Hands-On, Project-Based Introduction to Programming
- Author: Eric Matthes
- Publisher: No Starch Press
This project is licensed under the MIT License