No hanging chads here, we promise! Login and vote now.
By syam1224
via linkmingle.com
Published: May 31 2008 / 08:03
![]() | |
| HTML5 Canvas | |
| Written by: Simon Sarris | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By syam1224
via linkmingle.com
Published: May 31 2008 / 08:03
Comments
Dan Dyer replied ago:
Easier to just use Collections.shuffle().
wheazel replied ago:
Collections.shuffle() nor the suggested algoritme is very good.
Real card decks are shuffled by hand, meaning you take a part of the deck and place it on top.
Random shuffles will impact game, since the cards are too random...
syam1224 replied ago:
Hand Shuffling is not good if not done scientifically.
A normal poker shuffle involve multiple standard shuffles.
The Knth algorithm is perfect if we could find a random number between 0 and N, which is not theoretically possible using computers. But to almost all practical purposes this should suffice
Voters For This Link (6)
Voters Against This Link (3)