Pantherina@feddit.de to linuxmemes@lemmy.world · 9 months agoRussian deletefeddit.deimagemessage-square60fedilinkarrow-up1780arrow-down111
arrow-up1769arrow-down1imageRussian deletefeddit.dePantherina@feddit.de to linuxmemes@lemmy.world · 9 months agomessage-square60fedilink
minus-squareCookieOfFortune@lemmy.worldlinkfedilinkarrow-up3·9 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·9 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.