Skip to content

andrijast/liars-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liar's Dice Game

Liar's Dice game simulator and API for building AI's (bots) to compete among themselves.

Creating a bot

To create your player bot, follow the API spec or check some preset bots in /bots directory.

Running a simulation

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]

Quick start a simulation

After running the server, to run a quick test simulation with bare simple bots, run:

bots/run.sh

ToDo

  • Add time limit to replies
  • Allow players to provide names
  • Handle player disconnet peacefully

About

Liar's dice game simulator and API for bots

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published