Skip to content

A simple guessing game implementation with a test suite

Notifications You must be signed in to change notification settings

a-saf/guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Guessing-game

A simple guessing game implementation with a test suite

This game is an extention of the simple guesisng game described here with added modules for numbers, colours and animals. Each game module has three levels of difficulty and is limited by three tries.

To run the game and the unit tests:

  • Requires Python 3 environment
  • Coverage package installed

To install Coverage:

pip install coverage

Clone/download the repository. In command line:

python main.py

To run the test suite:

python -m unittest discover
coverage run -m unittest discover
coverage report -m
coverage html

About

A simple guessing game implementation with a test suite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages