I'm fascinated by the idea that, if you roll a die multiple times and add up the results, the sum is increasingly likely to be close to the very-middle of the range of possible sums.
I wanted to test that and just run it repeatedly to see those results.
I also wanted an excuse to use Nim, so I made this little script as an excuse to use Nim.
It runs in the command line. You need to intall Nim to use it.
Choose the number of sides of a die, and how many times to roll it.
Calculate the maximum and minimum possible sums for the chosen numbers.
Add the rolls together.
Display how far we hit from middle of possible sums.
Display both raw numbers and percentage.