Missile Defence is a game designed to combine the classic: Atari Missile Command and a typical tower defense game into one. This project is programmed using Python and the pygame library as the submission for my A-Level computer science course. Feel free to download and play it yourself - your scores will be uploaded to my database and visible to anyone if you happen to score in the top 10. Local highscores are implemented as well, they will display instead of the global scores if your device is not connected to the internet.
-
Ensure that you have Python 3.6.x or higher installed, 3.7.5 can be downloaded from here
-
Download the project's zip file from gitlab or alternatively run:
git clone https://github.com/tandemdude/missile-defense.git
To pull the latest files from github directly
-
Open a command prompt window and navigate to the project's folder using
cd <target-directory-path/name>
You should hopefully know how to do this already
-
Install the requirements for the package using the command:
python3 -m pip install -r requirements.txt
in Linux or OSXIf using windows replace
python3
withpy
or justpython
To run the game, navigate to the project's folder.
There should be a file named start.py
. Run this file either by double clicking it,
or by running it via command line with the command python3 start.py
.
If using windows replace python3
with py
or just python
A game window should then appear