Skip to content

A JavaScript Dice Game Engine for Creating Dice Games

License

Notifications You must be signed in to change notification settings

metecik/twenty-one-pips

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.5%
  • HTML 4.8%
  • CSS 0.7%