https://github.com/shaw145/alien-invasion
This is a game written in Python using Pygame.
https://github.com/shaw145/alien-invasion
alien-invasion game game-development pygame pygame-games python python3
Last synced: over 1 year ago
JSON representation
This is a game written in Python using Pygame.
- Host: GitHub
- URL: https://github.com/shaw145/alien-invasion
- Owner: Shaw145
- Created: 2023-04-16T09:27:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T09:42:36.000Z (over 3 years ago)
- Last Synced: 2025-02-14T15:43:31.529Z (over 1 year ago)
- Topics: alien-invasion, game, game-development, pygame, pygame-games, python, python3
- Language: Python
- Homepage:
- Size: 365 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alien-Invasion
This game "Alien Invasion" is fully made with Pygame.
In Alien Invasion, the player controls a rocket ship that appears at the bottom center of the screen. The player can move the ship right and left nad shoot bullets using spacebar. When the game begins, a fleet of aliens fills the sky and move across and down the screen. The player can shoots and destroys the aliens. If the player shoots all the aliens, a new fleet appears that moves faster than the previous fleet. If any alien hits the player's ship or reaches the bottom of the screen, the player loses a ship. If the player loses three ships, the game ends.
I made this game with the help of a book named *"Python Crash Course" by Eric Matthes* and I made some changes or add some feautures like bullet shot sound,background image etc...
## Installing
Download the Python 3 installer package from the official website and install it, if not installed previously.
Run the following in the terminal to install the Pygame library
`pip3 install pygame`
## Running the Application
Download the source code from the repository and run the `alien_invaision.py` file just as any other Python script (.py) file.
`Run alien_invasion.py`
## Demo
https://user-images.githubusercontent.com/78732037/232288421-5713ddc1-0f63-4813-9241-3e2d245f058a.mp4
## Prerequisites
- Python
- Pygame , an open source Python library for making multimedia applications
## Author
- **Suman Shaw**
## Resource
- Book - *"Python Crash Course" by Eric Matthes*