CLI version of the Tic Tac Toe game. Made with the sole purpose of practicing Test-Driven Development (and enjoy quality fun times, obviously).
Realized with Python 3.10.
-
Create a Python Virtual Environment by running
create-venv.sh -
Activate it by running
activate-venv.shYou should make sure the venv is always activated before running any other script mentioned in this guide.
If you're under Windows, open Git Bash and use
activate-venv-win.shinstead. -
Install dependencies by running the following scripts:
install-deps.shinstall-deps-dev.shinstall-deps-test.sh
To run the application, run the script run-tictactoe.sh
To run tests, run the script run-tests.sh
To run static type checking against the code, run the script typecheck.sh
To run autoformatter, run the script format.sh
To run linter checks, run the script lint.sh