Command-line Rock-Paper-Scissors game.
Clone the repository and install the dependencies.
git clone https://github.com/natilou/rock_paper_scissors.git
cd rock_paper_scissors
python -m venv .env
source .env/bin/activate
pip install -r requirements.txt
Install the namespace from setup.py
pip install -e .
To play the game, run the following command:
cd src
python game/main.py
Follow the prompts on the screen to choose an action (rock, paper, or scissors) and see if you win against the computer.
pytest -v
- Questionary: https://questionary.readthedocs.io/en/stable/