Giter Site home page Giter Site logo

natederbinsky / freedice Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 199 KB

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.

PHP 91.31% CSS 3.74% TSQL 3.92% Hack 1.03%
game webapp dice

freedice's Introduction

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

freedice's People

Contributors

natederbinsky avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.