2017 © Pedro Peláez
 

plugin dice

Dice roller

image

maymeow/dice

Dice roller

  • Saturday, January 21, 2017
  • by maymeow
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Dice

Very simple dice roller, (*1)

Installation

Download this repository to your source code, (*2)

Usage

Create new dice, (*3)

$dice = new Dice();

To roll dice use, following script throw 1 times with standard (cube dice) dice., (*4)

$dice->roll();

If you want throw more with another dice or you want throw more times use, (*5)

// throw 3 times with stanard cube Dice
$dice->roll('3x6');

// throw 5 times with non standar dice
$dice->roll('5x20');

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

TODO: Write history, (*6)

Credits

Charlotta Jung - asunay, (*7)

License

MIT, (*8)

The Versions

21/01 2017

dev-master

9999999-dev

Dice roller

  Sources   Download

MIT

The Requires

 

by Charlotta Jung

21/01 2017

v1.0

1.0.0.0

Dice roller

  Sources   Download

MIT

The Requires

 

by Charlotta Jung