Click here to see pictures of the game in action: https://imgur.com/a/Teacntl
Number Crunch is a singleplayer, turn-based strategy game in a similar style to Backpack Battles. Every turn, use your three actions to reroll and purchase increasingly large numbers. Try to match the target score every turn. You get bonuses for matching numbers.
- Download the zip folder and extract
- Install python
- Navigate to the extracted folder directory in a terminal:
cd <path/to/folder>/number-crunch-main
- Run the game:
python3 main.py
main.py
: handles global mouse variables and important gameplay procedures
components.py
: defines essential UI classes (Button, Cell, DraggableText)GameState.py
: defines GameState class that holds all game variables and logic
drawer.py
: contains simple functions for drawing text and rectanglesutils.py
: contains various general helper functins
colors.py
: defines all colors used in the UIfeatures.py
: defines all shop weights, target scores, and starting game state valuesui.py
: defines all sizes and positions of componentssounds.py
: defines and initializes all sounds used in the gamesounds/
: folder with all mp3 files used