Turing Tumble Community

Biggest Comparator

Objective: If A < B, put a ball in interceptor L. If A = B, put a ball in interceptor E. If A > B, put a ball in interceptor G.

Available parts: Everything.

Starting setup:
Blue: 16 - - - - - - - - - - - - - - - - - - - - Red: 16
IMG_4896

I’ve become unreasonably obsessed with this series of puzzles you’ve made and I’m this close to making a 5 bit comparator, but every time I fall just a little bit short. Have you had any luck

For a 5-bit version, compare from the most significant bit downward and keep an “equal so far” signal. Each stage should only let a difference through if all higher bits were equal; the first difference then sets L or G and blocks later stages. That avoids trying to combine every bit at once. If you’re running short of space, I’d start by simplifying that cascade rather than adding more output logic.