Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced dice rolling #1

Open
rconnorlawson opened this issue Jan 11, 2019 · 0 comments
Open

Advanced dice rolling #1

rconnorlawson opened this issue Jan 11, 2019 · 0 comments

Comments

@rconnorlawson
Copy link

Currently, the dice command prints out the sum of all dice rolled. It would be convenient to show the value of each die:

> dice 2 6
3 1
Total: 4

Or possibly a distribution for larger rolls:

> dice 20 6
1 | ##                  | 2
2 | ##                  | 2
3 | #####               | 5
4 | ###                 | 3 
5 | #####               | 5
6 | ###                 | 3
Total: 78

Also, suggesting dice groupings on the command line, as if for mob's attach rolls:

> dice 4*(1d20 2d6)
 9  6 6
12  5 4
 5  5 3
10  2 6

There could be a whole syntax for this. For example, if you wanted to sum the 2d6 instead of showing them individually, something like this might work:

> dice 4*(1d20 2d6+)

Cool project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants