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.
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.
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
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
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.