Set of machine learning agents made for game Carcassonne.
-
Install Go 1.22 either from your distro's package repositories or by following instructions on Golang's site
Tip: If you're using Ubuntu 23.10 or lower, Go version in official repositories is going to be too old. You can get the latest version by adding the PPA listed on Go wiki and installing
golang
package after. -
Install
gcc
toolchain from your distro's package repositories (for example,build-essential
package on Ubuntu). -
Install Python 3.12 (default version on Ubuntu 24.04, find how to install on your distribution otherwise)
pip install -r requirements.txt
Clone latest version of Carcassonne-Engine
git clone https://github.com/YetAnotherSpieskowcy/Carcassonne-Engine.git
ENGINE_PATH="<Path to Carcassonne-Engine repository>" make test
docker build -t <IMAGE_NAME> .
docker run --rm -it --entrypoint bash <IMAGE_NAME>
docker build --build-arg ENGINE_BRANCH=<BRANCH_NAME> -t <IMAGE_NAME> .
docker run --rm -it --entrypoint bash <IMAGE_NAME>