MusicTheorist/ArrayVisualizer

Shuffle seed shuffle

Opened this issue · 0 comments

The issue has existed for a long time that we aren't able to compare two different algorithms fairly, because there is no way to get the same shuffled array twice for testing (at least without loosing your sanity first). So I present to you all the idea of a shuffle seed!

The concept is simple, you go to the "Choose shuffle" button, and below the "Randomly" option there will be a button saying "Custom shuffle". When you click on this button a text box will pop up asking you to input in a random number to be the shuffle seed. If the same number is inputted twice (with the same array size obviously), you will get the same shuffle each time, allowing for very easy testing.

Hope this idea is worth concidering!
-EilrahcF

PS: If the idea gets in, the first person to find the shuffle seed that puts the array in decending order with an array size of 2048 should get a role on the discord server :P