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

#1 2009-11-22 13:01:02

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Scripting Contest

Yes, this is a contest, but it has a twist.

Basically, I'll tell you what your script needs to do. Take a picture of your script, upload it to an image hosting website (I recommend Photobucket), and post it here. The most efficient and accurate one will be put in the hall of fame for new (and old!) members to use.

Contest #1: Make a script that finds the mode of numbers in a list. Must be able to diversify using the number of numbers in the list.
Deadline: 11/24

Winning Script:
None yet
by Nobody

Contest #2: Make a script that finds the median of numbers in a list. Must be able to diversify using the number of numbers in the list.
Deadline: 11/24

Winning Script:
None yet
by Nobody

Last edited by The-Whiz (2009-11-22 13:02:00)

Offline

 

#2 2009-11-22 13:07:35

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Scripting Contest

Those are both extremely easy. I'll work on them as soon as my sister gets off the computer.

Offline

 

#3 2009-11-22 13:14:16

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: Scripting Contest

Oh, a scripting contest. Never heard of those!


Scratchin' since 2007

Offline

 

#4 2009-11-22 13:35:24

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Scripting Contest

The median script is difficult because you have to sort the list.
My entry to #2 is this
http://s782.photobucket.com/albums/yy104/zarakstan/?action=view&current=MedianScript.gif
This is the direct link if it doesn't show up http://s782.photobucket.com/albums/yy104/zarakstan/?action=view&current=MedianScript.gif


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#5 2009-11-22 13:55:09

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Scripting Contest

demosthenes wrote:

The median script is difficult because you have to sort the list.
My entry to #2 is this
http://s782.photobucket.com/albums/yy10 … Script.gif
This is the direct link if it doesn't show up http://s782.photobucket.com/albums/yy104/zarakstan/?action=view&current=MedianScript.gif

Nice!

Offline

 

#6 2009-11-22 14:16:28

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Scripting Contest

Thank you  smile


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#7 2009-11-22 17:24:17

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Scripting Contest

I might try if I get the time...


http://i.imgur.com/WBkM2QQ.png

Offline

 

Board footer