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

#1 2012-02-16 18:45:30

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

A random number, without the block!

I've created a neat little project that sets a variable to a random number. One catch: it has no random block!

You can compare it to another variable, which IS set by the pick random block.

Click to play...

Thanks to Rookwood101's scripting plugin, you can play it on the forums!
[scratch=flash]rdococ/2337561[/scratch]

Offline

 

#2 2012-02-16 22:35:04

ProgramCAT
Scratcher
Registered: 2011-12-13
Posts: 500+

Re: A random number, without the block!

Would it have any real purpose though?


Programming is an art...
Goodbye, Scratch. I am leaving because of the exams coming up at our school, though I'll check the forums once or twice a week.

Offline

 

#3 2012-02-17 07:41:40

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: A random number, without the block!

ProgramCAT wrote:

Would it have any real purpose though?

No, it's just for fun. But you can learn from it!

Offline

 

#4 2012-02-17 08:13:34

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: A random number, without the block!

Cool!

Offline

 

#6 2012-02-17 13:43:13

ProgramCAT
Scratcher
Registered: 2011-12-13
Posts: 500+

Re: A random number, without the block!

It certainly is interesting...


Programming is an art...
Goodbye, Scratch. I am leaving because of the exams coming up at our school, though I'll check the forums once or twice a week.

Offline

 

Board footer