this post was submitted on 27 Mar 2024
788 points (98.5% liked)

linuxmemes

20751 readers
1269 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CookieOfFortune@lemmy.world 3 points 5 months ago (1 children)

Hmm I thought you only spin once so there’s eventually a guaranteed shot. The 6 should decrement after each execution.

[–] Lifter@discuss.tchncs.de 2 points 5 months ago

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.