Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Alien Invasion

A space shooter built with Pygame, based on Chapter 12 of Python Crash Course by Eric Matthes.

I modified it a bit.

Summary

Alien Invasion is a 2D side-scrolling space shooter. The player controls a ship that moves horizontally along the bottom of the screen and fires bullets upward. The goal is to survive waves of descending aliens while destroying as many as possible. The game features a simple score system, lives, and increasing difficulty as the alien fleet descends. You'll learn OOP here a lot!

How to Run

  1. Install Pygame: pip install pygame

    #Depends on the pygame version, you can do "py" or "python". Then the name of the file which also depends on you

  2. Run the game: python alien_invasion.py or py alien_invasion.py

Project Structure

alien_invasion/ ├── alien_invasion.py # Main game loop & event handling ├── settings.py # Game configuration ├── ship.py # Ship class ├── bullet.py # Bullet class └── images/ # Sprite assets

Credits

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors