This is the repo for our remake of a tower defense game for CS 4474.
The following requirements are needed to run the game. Follow the instructions below to install them, in the order they are listed.
- Python 3.7+
- To install, download the latest version of Python from here.
- Make sure to download the appropriate version for your operating system.
- Follow the instructions to install Python, and make sure to check the box that says "Add Python to PATH" during the install process.
- Pygame
- To install, run
pip install pygame
before running the game. - If there is no path to pip, you may need to run
python3 -m pip install pygame
instead.
- To install, run
- Clone the repo to your local machine.
- To clone the repo, run
git clone https://github.com/AnselZeng/little-protectors.git
in the terminal. - This will create a new directory called
little-protectors
in the current directory.
- To clone the repo, run
- Navigate to the root directory containing
LP.py
in the terminal (little-protectors/
), and runpython3 LP.py
. - Enjoy!
- Click on a tower in the top right corner to select it.
- Click on a tile to place the tower.
- Click on a tower to open the upgrade menu.
- Press the play button to start the wave.