This is a simple example showing one way to roll a die. To experiment, look at the code and click on the custom block called "roll die".
Only me to blame for this!