Go to file
Arthur POULET 098221f983
Add exploding dice to Roll
2017-10-02 16:46:47 +02:00
spec Add exploding dice to Roll 2017-10-02 16:46:47 +02:00
src Add exploding dice to Roll 2017-10-02 16:46:47 +02:00
.gitignore Add exploding attribute to dice (no stats change yet) 2017-10-02 16:07:04 +02:00
.travis.yml Add exploding attribute to dice (no stats change yet) 2017-10-02 16:07:04 +02:00
CHANGELOG.md Update CHANGELOG and add few documentation lines 2016-08-28 00:07:55 +02:00
LICENSE init project 2016-07-04 13:40:33 +02:00
Makefile Add exploding attribute to dice (no stats change yet) 2017-10-02 16:07:04 +02:00
README.md Update README 2017-06-30 01:47:11 +01:00
shard.yml Add exploding attribute to dice (no stats change yet) 2017-10-02 16:07:04 +02:00

README.md

rollable

Roll and parse dices

Works with crystal v0.23.0

Installation travis

Add this to your application's shard.yml:

dependencies:
  rollable:
    github: Nephos/crystal_rollable

Usage

require "rollable"
Rollable::Roll.parse("2d6+4").test # => roll 2 dices and add 4 to the sum

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/Nephos/crystal_rollable/fork )
  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. Create a new Pull Request

Contributors

  • Nephos Arthur Poulet - creator, maintainer