Swift framework for expressing and evaluating dice notation (e.g., d20, 4d6+4, 3d8×10+2), which is commonly used in tabletop role-playing games.
14
stars
1
forks
source link
Add global convenience function to create Die #35
Closed
brentleyjones closed 9 years ago
It's sort of verbose to create dice in long form:
With expressions it gets even more unwieldy:
When #34 is implemented this will be a lot better:
The final improvement would be to make the die creation better: