A web-based implementation of Liar's Dice that supports multi-player games. Communication is supported via e-mail and the interface has custom views for mobile devices and bots.
The following are the basic steps to get started with freedice:
- Check out
trunk
to a PHP-enabled directory - Create a new MySQL database (it is recommended not to use an existing db, as the DB schema does not use any sort of namespacing to avoid collisions with existing tables)
- Import the database schema in
common/private/db
- In the
common/private/lib
directory, copy+paste all*
-config.inc.php.default files to*
-config.inc.php, open, and fill out relevant configuration-variable values (should be self-explanatory) - Go to the URL and have fun!
- If e-mail communication is enabled for a game, all players will be spammed after every game action (assuming sendmail, or equivalent, is properly configured with PHP)
- By setting the
blank
variable toY
for a page, a machine-readable (ini) format is supplied
- I developed this Liar's Dice implementation while a grad student in John Laird's research group at the University of Michigan. I also helped develop an iOS app based upon this game, which uses a Soar agent for opponent(s).