Maybe t his is better suited for IMHO, but I am after a factual answer here…
OK, I am actually **not **writing a story, but I have been thinking about a plot, just for the heck of it. I was wondering about someone who can “rewind” back into time, but only for a minute or maybe less. Got to wondering how he might do at the poker machines in Vegas. Draw one card? Draw two? Heck, just try each way until he gets the best hand. How long to make a few thousand dollars a week doing this?
So. Sorry for the long lead in. This is what lead up to my wondering about those card machine algorithms. I know there are two basic ways one could program a deck shuffle. One is to have an array with the 52 cards and actually put them into a pseudo-random order, then “deal” the player the cards in order. The other way is to pick a random card each time he requests it and then delete it from consideration.
The first way simulates an actual shuffled deck of cards and would work for someone who could backtrack a few seconds in time for a redo s ince the “deck” would be in a certain order after the initial shuffle and would stay that way for the duration of the game. However, the second way would not work, since there would be no way of the player knowing what the next card or cards would be.
So, does anyone know how these machines are programmed? In case I get my portable time machine working, I need to know if the video card machines scheme will work.
(And yeah, this is just for fun. In reality, I will go to the roulette wheel and make my fortune there where it doesn’t matter whether or not I know what number or color will come up…I’ll just keep playing black and rewinding until it does come up. Shouldn’t take long.)