Dice-roller and nova calculator. Order-of-Operations compliant. Can read predefined rolls from a file. Interactive session or command line.
Open an interactive session:
$ rollem
Give result and return to shell:
$ rollem {roll}
Read a yaml file containing named rolls:
$ rollem [-n {file.yml} | --names={file.yml} ] [{roll}]
Dieroll:
Roll: 2d8
Nova:
Roll: 2d8+d4+2
Named:
Roll: Jared
A yaml file may contain name/nova mappings.
scimitar: 1d6+2
may be rolled by name:
Roll: scimitar
Jared:
scimitar: 1d6+2
quarterstaff: 1d8+2
may be rolled by name:
Roll: Jared.scimitar
- Names must be word characters [A-Za-z_]
- A period
(.)
indicates a nested attribute.
After evaluating dieroll results, the result uses standard mathematical order of operations.
Roll: 2d8+2*2
equals 2d8*4
.
Parentheses will subgroup components of the roll.
Roll: (2d8+2)*2
Named rolls act as a parethetized group.
Roll: Jared.quarterstaff*2
equals (1d8+2)*2
.
This is a pre-release version. It has been tested within a set of easily-predictable use-case parameters. Unpredicted use-cases may cause unpredicted responses. Additional features planned.
There is absolutely NO WARRANTY OR GUARANTEE for this software.