Compete against friends to build the best AI that can beat the board-game Splendor!! Current supports Rust and Python bots!
Install python3 and Rust
For installing Rust:
- visit the official website https://rust-lang.org/tools/install
- Run the command posted there
- Restart your terminal
You can check to see if Rust is installed by running cargo --version
which should have an output that looks like:
cargo 1.76.0 (xxxxxx 2024-xxxx)
Navigate to the Rust https://rust-lang.org/tools/install website and download the exe
When you run it, it may ask you to install Visual Studio Community and Windows SDK. Allow them and click Continue/Install
You may get a screen like this, type y and press Enter to continue
After you've installed the SDKs, you'll see a screen like the following, press 1 to install default options and then Enter to continue
If all goes well you should see the following screen
You may already have Python installed, but the installation scripts require a binary named python3
to work properly.
To install, you can type python3
in a new Powershell instance, which will launch Microsoft Store on Windows 11
To run a tournament is simple, navigate to the splendor-tournament directory and execute
python3 run_game.py
in your terminal (Note: the first build can take 3-5 minutes! It should be faster on subsequent builds)
If all goes well, you should be able to go to http://localhost:3030/splendor/splendor_4pl.html and see the game that the server just played for you.