It's a terminal IDLE game where you can buy properties and earn money. Like cookie clicker but in terminal.
Gravacao.de.Tela.2025-09-19.as.05.23.30.mov
-
Clone the repository
-
Install python 3.12.3
-
Install requirements
pip install -r requirements.txt
-
Run the game
python3 main.py
-
Follow the instructions on the screen
- press some number to buy a property
- press
xto change multiplier - press
sto save the game - press
ctrl + cto exit the game
- Run the tests
python3 -m unittest
-
Run the coverage
coverage run -m unittest discover coverage report
-
To run the coverage in html version
coverage html
Then open the
htmlcov/index.htmlfile generated by coverage or click on the link that will appear in the terminal.
-
You can edit crconfig.toml to change the mutation tests configurations or just recreate it with the command below.
cosmic-ray new-config crconfig.toml
-
To run the mutation tests
cosmic-ray init crconfig.toml cr.sqlite cosmic-ray exec crconfig.toml cr.sqlite cr-html cr.sqlite > report.html
-
Then open the
report.htmlfile on your browser.