Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1529

VB6 - Fisher–Yates shuffle

$
0
0
Attached is a short demonstration of the Fisher–Yates shuffle. In this particular case we wanted to be able to restore the shuffle back to it's original format, so we had to ensure that the Random number generator produced predictable results depending on the key supplied. To truly randomize the shuffle, you would need to use a better random number generator.

J.A. Coutts
Attached Images
 
Attached Files

Viewing all articles
Browse latest Browse all 1529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>