Pantherina@feddit.de to linuxmemes@lemmy.world · 5 months agoRussian deletefeddit.deimagemessage-square71fedilinkarrow-up1774arrow-down112
arrow-up1762arrow-down1imageRussian deletefeddit.dePantherina@feddit.de to linuxmemes@lemmy.world · 5 months agomessage-square71fedilink
minus-squareCookieOfFortune@lemmy.worldlinkfedilinkarrow-up2·5 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·5 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.