2017-11-19
1.0.0
Nuno Reis
All
All
Libraries
[Overview]
A set of functionalities for games implementation. Each configurable Webblock returns an Integer List with the results.
[Detail]
So far it contains:
dice throwing (6 or less faces)
coin flipping with Heads or Tails for Dollars, Pounds or Euros
cards will be next.
Configuration
Allow or prevent new tosses
Specify the number of coins/dices
Specify the number of faces of the dices (6 by default)
Specify the territory of the coin (Australian/Canadian/US dollars, Great Britain's Pound and Euro from 23 territories are available, Portugal's Euro is the default).
Result in sent as a notification to the caller. [1,2,3,4,5,6] for dices, [0,1] for coins.