Page 1 of 1

[SMP][Redstone] Random generator.

Posted: July 13th, 2011, 1:33 pm
by Intertoothh
I was thinking of a way to make a good random generator.
We have loads of lines and it needed to select 1 at random. Maybe a 2nd one again, but it might be the same.

What if we have a binairy bus, this bus will determen the max of lines you want random.
So if you want 32 random lines you need a bus of 8 lines.
Each line is power by its own clock, that clock will 'stop' or 'disconnect' once you random input is needed.
And 1 line will be powerd, your random line.

I'll make a demo setting maybe nonight. See how 'random' this is and how well it works.

Re: [SMP][Redstone] Random generator.

Posted: July 13th, 2011, 1:35 pm
by Intertoothh
ps:
a pailstone :Random , 3 (depending on levers) random outputs once it receives a input?

Re: [SMP][Redstone] Random generator.

Posted: August 14th, 2011, 4:31 pm
by Bloody_Llama
A month late, but I built a redstone random number generator the day redstone came out!


Re: [SMP][Redstone] Random generator.

Posted: August 15th, 2011, 10:34 am
by Intertoothh
Pailstone fixed it for me.
http://pailstone.eonz.net/?p=u&u_s=rand