Code is written in Python, you need to have Python3 installed on your sistem to run it. No external libraries are needed for the main scripts, the test script requires PyTest.
To run FooBar solution:
- Clone this repository
- Open Terminal in the main folder
- Run
python foobar.py
To run Rock Paper Scissors game:
- Clone this repository
- Open terminal in rock_paper_scissors folder
- Run
python RockPaperScissors.py
To run tests for Rock Paper Scissors:
- Clone this repository
- Open terminal in rock_paper_scissors folder
- Install PyTest via conda with
conda install -c anaconda pytest
or, if conda isn't installed, via pip withpip install pytest
- Launch the tests running
python -m pytest test_RockPaperScissors.py