[SMP][Redstone] Random generator.
Posted: July 13th, 2011, 1:33 pm
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.
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.