Skip to content

sekerez/space_invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot

Python Pygame PostgreSQL License

Intro

This is my own take on the classic space invaders retro game! I originally wrote this program when applying to the Recurse Center, but I fleshed out the program because I enjoyed the challenge of writing a retro videogame. I'm quite satisfied of the final product, and I think that this project was overall a great learning experience.

Table of Contents

Installation

Space Invaders requires no specific installation, though it does require that certain python dependencies be installed. Running a database requires connecting to a PostgreSQL server.

Dependencies

Space Invaders was written on a 64-bit Ubuntu 20.04 LTS OS using Python 3.8.10. The project uses a few external dependencies, most importantly pygame, which are listed in the requirements.txt file.

To download all python dependencies with pip, type in the command line:

$ pip install -r requirements.txt

Usage

To run the game, first connect to a database, then run the program.

Connecting to a database will require making a .env file in the /src/db folder with five environmental variables, as indicated in the sample .env file.

After environmental variables have been set, then the user need only run the main.py file in the project's root directory, as such:

python3 main.py

License

My Space Invaders project is licensed under the MIT Licence Copyright (c) 2021.

See the LICENSE for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.

All trademarks referenced herein are property of their respective holders.

About

My own take on the classic retro game!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published