Liar's Dice game simulator and API for building AI's (bots) to compete among themselves.
To create your player bot, follow the API spec or check some preset bots in /bots
directory.
First, make sure you have git
and deno
installed. Then you can clone this repo to get started
git clone git@github.com:andrijast/liars-dice
cd liars-dice
Now use this command with following arguments (default values given) to start the server with deno:
simulator/run.sh [number_of_players=2] [number_of_dice=6] [number_of_games=1] [port=5533]
After running the server, to run a quick test simulation with bare simple bots, run:
bots/run.sh
- Add time limit to replies
- Allow players to provide names
- Handle player disconnet peacefully