This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-03-21 16:20:31

xX_Avri_Scarell_Xx
Scratcher
Registered: 2010-03-15
Posts: 60

I'm making a quiz?

I have the scripting all done for the project, but how would I make it so That it could tell which variable had the most? I'm basing it like this:
http://i44.tinypic.com/v6n1g8.gif


http://www.squiby.net/view/3302748.pnghttp://www.squiby.net/view/3302769.pnghttp://squiby.net/view/2246392.pnghttp://www.squiby.net/view/3668482.png

Offline

 

#2 2010-03-21 16:51:05

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: I'm making a quiz?

Here's one way:
http://img51.imageshack.us/img51/3823/quizhelp.gif

You'll have to make the lists "players," "scores," "winners," and "winners scores" and the variables "i," and "winner(s)." I allowed it to recognize ties and have more than 1 winner.
If you have any questions, let me know.


http://i48.tinypic.com/2z5pqad.png

Offline

 

Board footer