Skip to content

It's a terminal IDLE game where you can buy properties and earn money. Like cookie clicker but in terminal.

License

Notifications You must be signed in to change notification settings

MarcosBB/terminal-idle-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal IDLE Game

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

How to install

  1. Clone the repository

  2. Install python 3.12.3

  3. Install requirements

    pip install -r requirements.txt

How to play

  1. Run the game

    python3 main.py
  2. Follow the instructions on the screen

    • press some number to buy a property
    • press x to change multiplier
    • press s to save the game
    • press ctrl + c to exit the game

Tests

Run tests

  1. Run the tests
    python3 -m unittest

Coverage report

  1. Run the coverage

    coverage run -m unittest discover
    coverage report
  2. To run the coverage in html version

    coverage html

    Then open the htmlcov/index.html file generated by coverage or click on the link that will appear in the terminal.

Mutation tests

  1. 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 
  2. 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 
  3. Then open the report.html file on your browser.

Authors

About

It's a terminal IDLE game where you can buy properties and earn money. Like cookie clicker but in terminal.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages