First click the start flag. (You don't need to click it again after losing just click the grey button in the middle of the screen, and yes, you can restart it by clicking it.) Press space to roll the dice. Press the grey button to play again after losing. (or the green flag again.) That's it really. But if you want to see the profit, face of the dice, and/or the round, I was lazy sooo, you have to turn the variable's visibility on. ._.
Credit to the youtuber 'Primer' for giving me the idea in the start of his video called 'Simulating the Evolution of Sacrificing for Family' Also if you make a remix or take the code, please give me the credit for the parts you copied and/or partially changed. I am also working on snake, but because I did it at school in either a wet weather break* or free time, I'll have to email the file to myself when I can. *(When it rains we have lunch and do stuff in the classroom in case you didn't know)