I started playing DnD with several friends recently, but managing dice became a hassle. Sites like roll20 had some built-in functionality, but they didn't quite work how we'd like, and they weren't mobile friendly. My goal was to use grammar to formally define dice syntax and create a mobile parser.

The majority of this project was writing a grammar and configuring ANTLR.

Probably the most useful feature are the "set dice". They basically allow the user to mix integer and string values in an array, and randomly select any number of them. This can be used for directional rolling.

Built With

Share this project:

Updates