Turing Tumble Community

[Large Board] Compare two 3-bit registers

Create a board with 2 3-bit registers (in the Blue and Red halves) and two terminators.

If the numbers if the registers are equal, intercept a ball (either color) in terminator A.
Otherwise, intercept a ball of the color of the lesser register in terminator B.

IOW, if the left-hand register is less than the right-hand register, intercept a blue ball in terminator B.

I solved this with a very large virtual board. My solution is wasteful and can be made smaller, but I don’t think this is solvable in the stock board (except maybe with 2-bit registers).

Solution (left terminator means equal; right terminator means unequal).

Much-harder challenge (I didn’t even try): Intercept a ball of the color of the greater register.

1 Like

I just built a 3-bit comparator, similar to challenge #60.

The URL is https://www.lodev.org/jstumble/?board=11r1r1er1r1eellllelllleragagaeerxareexlllelllleiriie0_8_8

Sorry, I don’t know how to cut 'n paste images into here yet. How do I do that?

Eureka. Got a screenshot.
Screenshot_2019-12-16%20jstumble