Pantherina@feddit.de to linuxmemes@lemmy.world · 6 months agoRussian deletefeddit.deimagemessage-square63fedilinkarrow-up1788
arrow-up1788imageRussian deletefeddit.dePantherina@feddit.de to linuxmemes@lemmy.world · 6 months agomessage-square63fedilink
minus-squareCookieOfFortune@lemmy.worldlinkfedilinkarrow-up2·6 months agoHmm I thought you only spin once so there’s eventually a guaranteed shot. The 6 should decrement after each execution.
minus-squareLifter@discuss.tchncs.delinkfedilinkarrow-up2·6 months agoThat’s not how randomness works. You would want to randomize once, saving the number of steps remaining until the bullet is the next shot, decrementing the number of steps for each try.
Hmm I thought you only spin once so there’s eventually a guaranteed shot. The 6 should decrement after each execution.
That’s not how randomness works. You would want to randomize once, saving the number of steps remaining until the bullet is the next shot, decrementing the number of steps for each try.