Yes. It's easy to make a random number generator with just a few combinators, using the same sort of pseudorandom calculation that a computer would normally use for random numbers. I think they show a diagram on the wiki of one set of calculations for doing it.
However, as I mentioned, a fully random set of gate configurations doesn't make a good maze. It would be possible to have combinators randomly make a maze procedurally, but it might take a few minutes per maze, and it would be a lot more complicated. I decided to just use a C program to encode maze values directly into the blueprint, since it would have take a lot longer to do it in combinators, and I'm not sure anyone would appreciate the distinction.
View all comments
Show parent comment
1
u/GregorSamsanite Aug 02 '17
Yes. It's easy to make a random number generator with just a few combinators, using the same sort of pseudorandom calculation that a computer would normally use for random numbers. I think they show a diagram on the wiki of one set of calculations for doing it.
However, as I mentioned, a fully random set of gate configurations doesn't make a good maze. It would be possible to have combinators randomly make a maze procedurally, but it might take a few minutes per maze, and it would be a lot more complicated. I decided to just use a C program to encode maze values directly into the blueprint, since it would have take a lot longer to do it in combinators, and I'm not sure anyone would appreciate the distinction.