@Pantherina@feddit.de to linuxmemes@lemmy.world • 1 year agoRussian deletefeddit.deimagemessage-square61fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageRussian deletefeddit.de@Pantherina@feddit.de to linuxmemes@lemmy.world • 1 year agomessage-square61fedilink
minus-square@CookieOfFortune@lemmy.worldlinkfedilink0•1 year agoHmm I thought you only spin once so there’s eventually a guaranteed shot. The 6 should decrement after each execution.
minus-square@Lifter@discuss.tchncs.delinkfedilink0•1 year 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.