Visitar URL original
GitHub - PiotrJustyna/roller: Haskell implementation of dice notation. · GitHub
Skip to content
PiotrJustynaPublic

About

Haskell implementation of dice notation.

Resources

Stars

3 stars

Watchers

9 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roller

Roller is a nice little utility that lets us generate numbers from dice expressions popular in pen and paper role playing games. Haskell implementation of dice notation.

Builds

master

master

develop

develop

current version

Hackage

Usage & sample dice rolls:

Single Terms:

Constant Term:

$ roller "4"
4

Dice Term:

$ roller "4d5"
10

Combined Terms:

Addition:

$ roller "3d10 + 2"
23

Subtraction (verbose mode):

$ roller -v "3d10 - 2"
16 [7,3,8,-2]

Multiple rolls:

$ roller -n5 "1d4"
1
3
3
2
3

About

Haskell implementation of dice notation.

Resources

Stars

3 stars

Watchers

9 watching

Forks

Releases

Packages

Contributors

Languages