Made with Python 3. Contains three solutions.
- game.py is a object oriented approach (first attempt);
- func_game is a functional approach (second attempt);
- func_game_2 is also a functional approach (third attempt).
# Setup virtual environemnt - run once
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
deactivate
# Run tests
source venv/bin/activate
pytest -v
deactivate