The Foundry · Level 2

Build a Circuit

You met the gates. Now you are the engineer. Pick the one gate that makes the light follow the goal.

One light. One rule. You choose the gate.

Two switches go in, A and B. One light comes out. Each puzzle gives you a goal, like "light only when exactly one switch is on." Your job is to pick the gate that obeys it.

Every rule, from a few gates. A handful of is enough to build every rule a computer follows. Pick the right one and the light does exactly what you want. Pick the wrong one and you can see it miss, then try again.
🔭 Why so few gates are enough
Two switches have only four settings: off-off, off-on, on-off, on-on. Any rule is just a choice of which of those four light the lamp. Because the gates cover those choices, you can build any rule by picking and combining them. That is the whole secret behind a computer.

← The Foundry · every fact here is real science, kept simple. Tap the underlined words to dig deeper.