Eli5: how truly random are the hands in a cribbage app?

310 views

Is it random or is each hand scripted as in if I don’t play a certain hand well will the computer make its cards to help its hands right there or is it actually using pre determined cards and just getting lucky?

In: 4

7 Answers

Anonymous 0 Comments

Computers are incapable of generating truly random numbers. So it is scripted, but in a way where is seems random but really isn’t. This is actually a well known problem in computer science. For example, cloudflare needs random numbers to generate strong encryption, so they use a wall of lava lamps with cameras staring at them to generate true random. Generally speaking though, if you saw the source code of the game you could reverse engineer the “randomness” and figure out what’s coming next.

You are viewing 1 out of 7 answers, click here to view all answers.