Instructions: To shuffle the word list, simply press or click the 'Shuffle' button. To add an item, press or click the '+ Add Item' button, and enter the name of the item you wish to add. To delete an item, press or click the '- Delete Item' button. Then, enter the number position of the item you wish to delete. To clear the whole list, press or click the '× Delete All' button.
Fun Facts: This list shuffling program can shuffle a 10-item list in roughly two seconds! Specifically, 1.8692 seconds. The program works by replacing an item picked at random with another random item in the list. After these items are swapped, both of them are added to one of two unique lists that indicate they have already been shuffled. While the script shuffles more items, it checks through the list. If the item is on an "alreadyShuffled" list, the script simply ignores the item and moves the index forward. If it is not on one of these lists and have not been swapped with another already, the script will choose that item, and then find another item that is not on that list. After the process is done, all of the data on the "alreadyShuffled" lists are deleted to ensure the script can shuffle the items again. ========================================== This is an automatic list shuffling script that can shuffle any list you wish! This shuffle engine works perfectly for games or programs where an outcome or output is choosed at random. Credit is deeply appreciated if you wish to use the list shuffler script in your projects. The manner you do it is to your best judgement. If you are using this in your project, simply put the 'list shuffler' sprite in your backpack.