metecik / twenty-one-pips

A JavaScript Dice Game Engine for Creating Dice Games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A JavaScript Dice Library for Creating Dice Games and other Educational Purposes

Twenty-one-pips is a JavaScript dice library to render and control dice. I intend it for educational purposes, as a simple, well-known, yet meaningful context for novices to explore programming concepts in an introductory programming course. As a context it is also suited for basic mathematics, early introductions to probability and statistics.

It is still very much under development and there has been no release yet.

License: LGPL3.0.

Examples

There are a couple of example is the example directory:

  • Continuously thrown dice: An animation of dice being thrown continuously, holding and releasing dice with each turn.

    Snapshot during the animation

  • Guess & Go! A stupid simple guessing game: you guess a number and click "Go!"

    Snapshot during the Guess & Go game

About

A JavaScript Dice Game Engine for Creating Dice Games

License:GNU Lesser General Public License v3.0


Languages

Language:JavaScript 94.5%Language:HTML 4.8%Language:CSS 0.7%