603
Bleeding edge tech (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] danhab99@programming.dev 3 points 1 year ago

I hope I'm not being stupid right now, but is that the actual algorithm for counting cards in blackjack?

[-] rho_@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Half of it. This gives you the running count. You need to also keep track of “number of decks in shoe” -“number of cards dealt since last shuffle”/52 to tell you how many decks are left in the shoe, then divide the running count by the number of decks left to give you a true count.

True count higher than 1? Start increasing your bet accordingly.

this post was submitted on 18 Aug 2023
603 points (96.2% liked)

Programmer Humor

18907 readers
390 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS