Wednesday, August 11, 2004

I can do Random Numbers!


http://academic.scranton.edu/department/psych/sheep/newsheep/practice/framesrandom.html
Ok - so this populates an array with 10 unique random numbers from 1-10. Then, we step through the array and report the random number that each cell contains.

For the sheep brain, when someone picks "random" - that act will populate the array and take them to the 1st random plate. Then, any navigator click will take them to the next cell in the array thereby showing the next random plate. When all plates have been seen, you'll be notified that you're done and asked if you want to do it again.

Sure I stole most of this, but hey - it's the code of the web :)

0 Comments:

Post a Comment

<< Home