Solution was implemented in python 2.7.
- Clone the repo;
- Create virtual environment;
- Install
requirements.txt
; - run
python main.py
; - run
py.test test_functions.py
to run the tests.
You will be prompted with the _
characters representing the word you'll need to guess.
You will have 9 attempts, which you can use to guess a letter or the full word.
-
Each correctly guessed letter will fill in all occurrences of that same letter.
-
After the game is ether won or lost, you'll need to execute the program to play it again.