- In order to play, you have to click the white button. - When you click it, the dice will choose a random number, which will be added to your score. - You want to have your score be as close to 21 as possible, without your score being more that 21. - When you're getting uncomfortably close to 21, click the stop button. - When you click the stop button, the computer will roll the dice one more time. If it ends up under 21, you lost because you could've rolled under 21. - If the number goes over 21, you win because you predicted that in the first place. - Good luck!
I used variables to make the score, and I drew the dice. Have fun! ~ JazzyCats8 Updates: 12/29/15: Added sound effects and end colors