Repository of the project to create an AI to play the boardgame "Diamant".
Go to file
Abigaëlle Martin 803937ed3e style/#0: run black formatting. 2025-09-12 10:18:18 +02:00
src style/#0: run black formatting. 2025-09-12 10:18:18 +02:00
.gitignore docs/#0: updated .gitignore to ignore pycharm config. 2025-09-12 10:18:02 +02:00
LICENSE Initial commit 2025-09-12 10:17:48 +02:00
README.md docs/#0: added small user guide to the README. 2025-09-12 10:18:11 +02:00

README.md

Diamant-AI

Repository of the project to create an AI to play the boardgame "Diamant". See: Diamant board game - Wikipedia

Note: Only the base game works for now, the Monte Carlo Tree Search has not been implemented yet :c

User Guide

  1. Install Python 3.11+ on your computer.
  2. On Linux, open a CLI and run the script: python3.11 src/main.py

TODO List

  • Setup a virtual environment.
  • Code the MCTS AI player.
  • Integrate joblib library to help MCTS computer faster the win/lose probabilities.

Code Styling

Git Commit Message

Commit messages should follow the standard: <type>[optional scope]: <description>

The following types are accepted:

  • feat: A new feature.
  • fix: A bug fix.
  • docs: Documentation only changes.
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).
  • refactor: A code change that neither fixes a bug nor adds a feature.
  • perf: A code change that improves performance.
  • test: Adding tests.
  • chore: Changes to the build process or auxiliary tools and libraries such as documentation generation.

Source: https://ec.europa.eu/component-library/v1.15.0/eu/docs/conventions/git/