Cuby is a game in where you, a cube, must defeat all the evil circles by slamming on top of them and crushing them. This game was created for my Introduction to Computer Programming class. THERE WILL BE BUGS.
Macs
Install Homebrew by using terminal, copy and paste the command from the Homebrew website into terminal. Then, run brew install python
then python3 -m pip install pygame pathlib
. Then clone or download this repo as a zip (using the green button at the top). If you download the zip, unzip it, then type cd
(note the trailing space), then drag and drop your unzipped folder onto terminal from Finder, then run python3 .
.
Windows
Compiled exe files will be found under the 'releases' tab in GitHub. Unzip the folder and run Cuby.exe
. You may need to download and install Microsoft's Visual C++. It can also be run directly from the command line by downloading the source using Python 3. Running it from the command line provides additional command line arguments, -v
or --verbose
prints verbose output. -d
or --debug
enables debug keys (found below). -f
or --show-fps
shows the current game fps in the top-left corner of the screen. -l <level>
or --level <level>
forces the game to start from a specific level. --no-ai
starts the game and does not enable enemy AI (It can be enabled using debug keys). --no-audio
does not enable audio. --unlock-all
unlocks all of the levels and does not require you to beat each level.
You will need these modules if you run it using Python:
- Pygame
- Pathlib
If you want to compile it from source you will need to install py2exe for Python 2.7. Depending on your Python installation, you may need to download the unofficial version from here.
- W or UP or SPACE: Jump
- A or LEFT: Move left
- D or RIGHT: Move right
- L/R SHIFT: Slam
- Escape: Quit/return
- o: Enable rendering checking
- p: Disable rendering checking
- MINUS: Disable enemy AI
- EQUALS: Enable enemy AI