Skip to content

Experience an adrenaline-fueled 2D space shooter game created with Python and the Pygame library. Control a spaceship to defeat an alien fleet while avoiding their attacks. With engaging gameplay and dynamic graphics, get ready for hours of excitement. Take on the challenge and immerse yourself in this thrilling adventure!

License

Notifications You must be signed in to change notification settings

AlzyWelzy/Alien-Invasion

Repository files navigation

Alien Invasion Game

This project is an implementation of the Alien Invasion game in Python using the Pygame library. The player controls a ship that appears at the bottom of the screen and can move left and right. The player can shoot bullets at the aliens that are moving across the screen. The goal is to shoot all the aliens before they reach the bottom of the screen.

Getting Started

To run the game, you will need to have Python 3 and Pygame installed on your system. You can install Pygame using pip by running the following command:

pip install pygame

Once you have Python 3 and Pygame installed, you can run the game by running the following command:

python main.py

Controls

  • Left Arrow Key: Move left
  • Right Arrow Key: Move right
  • Spacebar: Shoot bullet

How to Play

Use the left and right arrow keys to move your ship. Use the spacebar to shoot bullets at the aliens.

Gameplay

The objective of the game is to shoot down all the aliens without getting hit by their attacks. The player can move the spaceship left or right using the arrow keys and shoot bullets using the space bar.

The game features multiple levels of increasing difficulty, with more aliens and faster movement speeds. The player has three lives, and the game ends if all lives are lost.

License

This code is licensed under the GNU Affero General Public License (AGPL), which is a free, copyleft license for software. This license ensures that anyone who uses, modifies, or distributes the software must also make their changes available under the same license.

For more information about the AGPL, please refer to the LICENSE file included with this code.

About

Experience an adrenaline-fueled 2D space shooter game created with Python and the Pygame library. Control a spaceship to defeat an alien fleet while avoiding their attacks. With engaging gameplay and dynamic graphics, get ready for hours of excitement. Take on the challenge and immerse yourself in this thrilling adventure!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages