Re:Show HN: Deck of Cards – A playing card API
by ivanche on Monday May 11, 2015 @07:37AM
(#9523917)
I've worked as a developer for online gambling games for 6 years. We never shuffled the deck of cards. Instead, as player requests another card(s), they are generated using hardware RNG and returned to player. Deck only knows which cards are left in it, but their order is undefined until that call to RNG.
[ Parent
| on HN ]
Re:Show HN: Deck of Cards – A playing card API
by sesquipedalian on Monday May 11, 2015 @11:19AM
(#9525384)
If I'm not mistaken, this sounds like an incremental fisher-yates shuffle.
Re:Show HN: Deck of Cards – A playing card API
by ivanche on Monday May 11, 2015 @12:46PM
(#9526061)
You are correct. As the matter of fact, a bunch of games in majority of cases needed only the next card from the deck, that's why in our heads we almost always thought of "not shuffling at all".