Skip to content

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.

natederbinsky/freedice

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

freedice

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.

Introduction

The following are the basic steps to get started with freedice:

  1. Check out trunk to a PHP-enabled directory
  2. 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)
  3. Import the database schema in common/private/db
  4. 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)
  5. Go to the URL and have fun!

Useful Notes

  • 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 to Y for a page, a machine-readable (ini) format is supplied

Acknowledgments

  • 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).

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published