Pseudo Random Dice

Remixed from: Pseudo Random Number Generator

{% trans 'Sorry, your browser does not support canvas -- please either update your browser or submit your requirements by phone or email.' %}

Accelerometer

Avatar for Nico teWinkel Nico teWinkel

Press button A to roll the dice. Then press it again to clear the screen. Repeat. Using a pseudo-random number generator, this provides a very fair roll of the dice. We keep it quite random by multiplying by a prime number, and then dividing by a prime number. To get the final 1-6 result we just take the current random number and divide it down.

Report this project

Project remixes

Back to top