/gpn21-gpn-tron

Bot for the gpn-tron game at GPN 21 and GPN 22, wirtten in Rust

Primary LanguageRust

GPN-Tron bot

This is my gpn-tron bot implementation from Gulasch-Programmier-Nacht 2023 (GPN 21), known from the michael-1.0, michael-1.0.2 and michael-1.0.3 bots.

Running

Compile and run with

cargo run

The program accepts one command line argument with the path of the config file. If not given, a config.toml in the current working directory is expected. An example config file is given in config.example.toml.

To enable logging, set the RUST_LOG environment variable to the desired log level (e.g. RUST_LOG=info).