ScratchData LogoScratchData
Back to jgatcomb's profile

Randomly Shuffle A List (How To: Fisher-Yates)

JGjgatcomb•Created August 18, 2013
Randomly Shuffle A List (How To: Fisher-Yates)
21
24
2382 views
View on Scratch

Instructions

This is a "How To" program explaining how to efficiently randomly shuffle a list Reasons you may want to do this: 1. You need to pick N random items from a list without repeats 2. You want to add variability to your otherwise static program Click on the green flag to see it work

Description

Added 2013-08-17 http://en.wikipedia.org/wiki/Fisher-Yates_shuffle

Project Details

Project ID11888022
CreatedAugust 18, 2013
Last ModifiedAugust 18, 2013
SharedAugust 18, 2013
Visibilityvisible
CommentsAllowed