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