22
1
16d
User prompt
Make the chance 1 in 8.5
Change the chance to one in 7
Code edit (1 edits merged)
Please save this source code
Risk Button
Initial prompt
Make a game where you press a button and you have a random 1 in 10 chance to lose. There is a restart button.
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
success
Sound effect
failure
Main
Upits
Social