Hacker News new | ask | show | jobs
by swang 4070 days ago
This is PlanetPoker[0]

The gist of it is their algorithm never chose the last card in the array to swap with, and the last card was never guaranteed to be the last card. They also committed the common mistake of implementing the "naive" shuffle, which is not equally distributed.

[0] http://www.cigital.com/papers/download/developer_gambling.ph...