Fisher-Yates In-Place Shuffle for GameSalad: Quickly randomize a large table column
ericzingeler
Member Posts: 334
This is the first real function using the Fast For Loop I posted earlier.
Last year I was in need of a method for randomizing large datasets. I finally stumbled across the Fisher-Yates shuffle algorithm. This is the In-Place version of the shuffle.
Check it out here: http://www.ezinterweb.com/2013/03/fisher-yates-in-place-shuffle-for_18.html
Last year I was in need of a method for randomizing large datasets. I finally stumbled across the Fisher-Yates shuffle algorithm. This is the In-Place version of the shuffle.
Check it out here: http://www.ezinterweb.com/2013/03/fisher-yates-in-place-shuffle-for_18.html