Pantherina@feddit.de to linuxmemes@lemmy.world · 7 months agoRussian deletemessage-squaremessage-square71fedilinkarrow-up1798arrow-down112
arrow-up1786arrow-down1message-squareRussian deletePantherina@feddit.de to linuxmemes@lemmy.world · 7 months agomessage-square71fedilink
minus-squareCookieOfFortune@lemmy.worldlinkfedilinkarrow-up3·7 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·7 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.