📋 Table of contents
- Git: Ensure that git is installed on your machine. Download Git
- Python 3.12: Required for the project. Download Python
- UV: Used for managing Python environments. Install UV
- Docker (optional): For DevContainer development. Download Docker
-
Clone the repository:
git clone https://github.com/CogitoNTNU/deeptactics-arena.git cd deeptactics-arena -
Install dependencies:
uv sync
-
Configure environment variables:
This project uses environment variables for configuration. Copy the example environment file to create your own:
cp .env.example .env
Then edit the
.envfile to include your specific configuration settings. -
Set up pre commit (only for development):
uv run pre-commit install
Run training with the default configuration (configs/config.yaml):
uv run python main.pyTo use a specific config, pass it as a positional argument or with --config:
uv run python main.py connect_four.yaml
uv run python main.py --config chess.yamlAvailable configurations in configs/: config.yaml, chess.yaml, connect_four.yaml, tic-tac-toe.yaml. You can also create your own by using any of these as a template.
Training progress is logged to Weights & Biases under the deeptactics-arena entity. To disable W&B logging, uncomment the mode="disabled" line in main.py.
To build and preview the documentation site locally:
uv run mkdocs build
uv run mkdocs serveThis will build the documentation and start a local server at http://127.0.0.1:8000/ where you can browse the docs and API reference. Get the documentation according to the lastes commit on main by viewing the gh-pages branch on GitHub: https://cogitontnu.github.io/deeptactics-arena/.
To run the test suite, run the following command from the root directory of the project:
uv run pytest --doctest-modules --cov=src --cov-report=htmlThis project would not have been possible without the hard work and dedication of all of the contributors. Thank you for the time and effort you have put into making this project a reality.
![]() Sverre Nystad |
![]() Kristoffer Nohr Olaisen |
![]() Ludvig Øvrevik |
![]() Håkon Støren |
![]() Parleen Brar |
![]() Vetle Støren |
![]() Jacob Gullesen Hagen |
![]() Jessica Liu |
![]() Kristian Flatval |
Distributed under the MIT License. See LICENSE for more information.









