An open API service indexing awesome lists of open source software.

https://github.com/nneji123/alien-shooter

A Game where a user shoots aliens and gets points. Created using Pygame library.
https://github.com/nneji123/alien-shooter

Last synced: 7 months ago
JSON representation

A Game where a user shoots aliens and gets points. Created using Pygame library.

Awesome Lists containing this project

README

          

## Alien Shooter
[![Language](https://img.shields.io/badge/language-python-blue.svg?style=flat)](https://www.python.org)
[![Module](https://img.shields.io/badge/module-pygame-brightgreen.svg?style=flat)](http://www.pygame.org/news.html)

## About the Game
This is a game similar to 'Space Invaders' where the user controls a spaceship and shoots bullets at aliens and earns points. The aim is to earn as much points as possible before the aliens get to your vicinity. If the alien gets too close to the user a 'GAME OVER' caption will be displayed.
![Screenshot (75)](https://user-images.githubusercontent.com/101701760/164342964-7bfebdb5-e28c-4cd8-a8c0-97c779dd34c5.png)

## Requirements
If you have the correct version of Python and Pygame installed, you can run the program in the command prompt / terminal.
Also you have to change the directory of where each asset is kept to your main script directory.
```bash
cd SpaceInvaders
python alien_shooter.py
```

**Note:** If you're using Python 3, replace the command "python" with "python3"

**MacOS Mojave**: You need to use Python 3.7.2 or greater: [Source](https://github.com/pygame/pygame/issues/555)

## Gameplay Preview
![Space-Aliens-2022-04-21-00-40-00](https://user-images.githubusercontent.com/101701760/164342905-87465f96-dece-4e54-aee1-02a8bd1dfcc9.gif)

**You can now check out the game with Replit!**

[![Run on Repl.it](https://repl.it/badge/github/Nneji123/Alien-Shooter)](https://repl.it/github/Nneji123/Alien-Shooter)