Die Roller (Simple Prototype)
akioyuushyahiro (0)

Very simple die roller that generates individual and summation values for a user-inputted number of dice with a user-inputted amount of sides. Very simple RNG system intending to precisely replicate the RNG of tabletop RPG's.

You are viewing a single comment. View All
Highwayman (1335)

Just a suggestion: use the <random> header, it gives you better random numbers and unbiased ranges in comparison to rand() and using a mod op. I like how you add it and stuff though, cool project. :)

Highwayman (1335)

@akioyuushyahiro god damn that was fast. I feel like I should be thanking you now! XD. happy coding and yw/ty.