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

#1 2010-07-19 11:40:48

codeblue
New Scratcher
Registered: 2010-07-13
Posts: 11

Random numbers generated in the same order everytime?

Okay so i have a jeopardy game thats supposed to generate random numbers and use that to refer to and index number of a question that is in a list but when I run it I get the same order everytime.
you should be able to get the file at this location

http://elgg.ittip.us/pg/file/codeblue/read/2367/jeopardy-randomized-questions-without-repetition
thanks

Offline

 

#2 2010-07-19 12:19:56

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Random numbers generated in the same order everytime?

I don't seem to be able to find the file.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#3 2010-07-20 00:06:13

codeblue
New Scratcher
Registered: 2010-07-13
Posts: 11

Re: Random numbers generated in the same order everytime?

Sorry about that. The website put up by the people from the program that I'm in evidently isn't very stable. I decided to just uploaded it to the scratch website. You can find it here [link]http://scratch.mit.edu/projects/codeblue/1201690[/link]

Offline

 

#4 2010-07-20 00:10:49

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Random numbers generated in the same order everytime?

codeblue wrote:

[link]http://scratch.mit.edu/projects/codeblue/1201690[/link]

You're supposed to use "URL" instead of "link" to make links, but you can't do that anyway (I think) because you're a New Scratcher.


Yawn.

Offline

 

#5 2010-07-20 00:22:55

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Random numbers generated in the same order everytime?

I once made a mistake in selecting random list indices, and it caused major embarrassment in front of the entire student body. I'll look at it tomorrow  wink


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#6 2010-07-20 06:57:43

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: Random numbers generated in the same order everytime?

I'm making a project for you to see. Hopefully I am understanding what you want.


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#7 2010-07-20 07:02:05

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: Random numbers generated in the same order everytime?

Here you go: http://scratch.mit.edu/projects/Dazachi-More/1201948


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

Board footer