[SMP][Redstone] Random generator.

Show off your towers, castles, or ALUs.
Post Reply
User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

[SMP][Redstone] Random generator.

Post 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.
McLaughlinKid wrote:You put roar on everything don't you?

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: [SMP][Redstone] Random generator.

Post by Intertoothh »

ps:
a pailstone :Random , 3 (depending on levers) random outputs once it receives a input?
McLaughlinKid wrote:You put roar on everything don't you?

User avatar
Bloody_Llama
Trustee
Offline
Posts: 324
Joined: May 26th, 2011, 6:35 pm

Re: [SMP][Redstone] Random generator.

Post by Bloody_Llama »

A month late, but I built a redstone random number generator the day redstone came out!

<FCB2> trevbev94: who made the perimid out of saind cause that is ausom
<FCB2> Pemalite+: druffin. 'cmere big boy for some lovin'

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: [SMP][Redstone] Random generator.

Post by Intertoothh »

Pailstone fixed it for me.
http://pailstone.eonz.net/?p=u&u_s=rand
McLaughlinKid wrote:You put roar on everything don't you?

Post Reply