cloud-lightning icon indicating copy to clipboard operation
cloud-lightning copied to clipboard

chance variable matters now

Open nealey opened this issue 6 years ago • 1 comments

I guessed at what chance was supposed to do: we now pick a number between 0 and 100 every time through the loop (1 second), and if the number is less than chance, you get a strike.

nealey avatar Aug 05 '18 20:08 nealey

I found a gist that demonstrates chance in use, so I've updated the code.

Now it chooses a random integer between [0,chance), and if it's zero, you get a strike. This frequency is way more gratifying when you first upload it :)

nealey avatar Aug 05 '18 20:08 nealey