I just wanna roll some sweet nat 20's!
git clone https://git.sr.ht/~voidraven/dnd-dice cd dnd-dice make && make install # may require root privileges # to build a debug version make debug # to build a optimized version make opt
Check out the Releases page..
dnd-dice # interactively input dice to roll dnd-dice -d 20 # roll a d20 dnd-dice -d 10 -n 4 # roll four d10s dnd-dice -v # show version info dnd-dice -h # show this help info
Free and Open Source software and the help of the church of Emacs ;)
This does not include a secure random number generator. The rolls wont be truly non-deterministic. I use the C++ standard random_device and Mersenne-Twister to get the random numbers. The Mersenne-Twister is considered a really good pseudo-random generator and will produce large volumes of high quality pseudo-random values quickly. This works well enough for this application, and my needs. If you want true randomness build you own application against OpenSSL or just roll real dice.
This project is licensed under the BSD 3-Clause license. See LICENSE.md for more info.
Don't blame me when your computer explodes.