SpinStabilized / dbot

A Discord bot with a few fun features.
https://spinstabilized.github.io/dbot-ref/dbot-about/
MIT License
0 stars 0 forks source link

Dice Roll Simulator #3

Closed SpinStabilized closed 3 years ago

SpinStabilized commented 3 years ago

Add a command that will take the same string as a roll but will roll it numerous times to gather statistics on the results and provide the curve of the outcomes.

The goal would be to allow a user to compare outcomes when making selections. For example, if a TTRPG player is selecting between two weapons that are different dice rolls and with differing bonuses. This would allow the player to see, of such complex rolls, which weapon will provide a higher average damage output.

SpinStabilized commented 3 years ago

Created the roll simulator. Provides the user a histogram, the mean, and the standard deviation of the rolls.

Added documentation to dbot command ref.

Added in commit 1610c58