Movie:
VW006 - Shuffle Engine For Card Game
|
Purpose: Create a realistic shuffle engine. This shuffle engine uses a realistic method for simulating how the cards fall in groups, are interleaved and then shuffled again. Choose a number of cards, less than or equal to 52. You can choose more. Choosing fewer makes understanding the algorithm clearer. Then click single step a couple of times, then click shuffle a 100x. The engine and artwork, including 52 card symbols in small, medium and large sizes were built from scratch in a day. Only the small cards are pictured here... they will be used as the console is fitted with graphics. Help on adding a textField listener was found here. It's quick and easy and is used to reconfigure when the card count changes. - Van |