Turing Tumble Community

Paul's puzzle 38 solution - 30 parts

Here’s my solution (it’s the one in the book):

image

And here’s the link:

http://www.lodev.org/jstumble/?board=rlerlf0fe00flx1eellxiell0lerrlxeerx0leelxree0

Description: The 3 bits on top distribute the first 4 balls into 4 different paths. Each path tests the value of a bit, starting with the top bit and working down. If it points left, the next ball will be red, if it points right, the next ball will be blue.

I’m pretty sure there’s a way to do this with less parts, but I haven’t figured it out, yet.