Drag a gate chip from the tray onto an empty socket, or tap a chip and then a socket.
Two-pin sockets take AND, OR, XOR, NAND and NOR; one-pin sockets take NOT or WIRE.
Tap a placed chip to take it back for free.
Each placement costs a spark, so a red row means take something out.
Tap a row to trace it through the wires.
Keys: Left/Right socket, Up/Down chip, Space place, H hint.
Gate Logic: one lamp per row, a wrong chip shows red at once, and 24 boards with no spark wasted
A robot door must open only for the switch patterns marked on the truth table. Drop AND, OR, XOR, NOT, and later NAND, NOR and plain WIRE chips into the empty sockets of a fixed circuit. Every row of the table has its own lamp, live, so a wrong chip often lights a red row at once. We solved each board with our own search before placing anything: try chips from the tray socket by socket, only those with the socket's number of inputs, and drop a choice as soon as any row is already decided wrong. Then we placed the chips with the keyboard. All 24 boards, each with exactly one placement per socket, no hint.
Reading a row
Each row is one pattern of the switches (A, B, and from board 9 C). DOOR shows what it should do, NOW what your circuit does.
A row can be decided before every socket is filled: an AND with a dark input is dark whatever goes in next. A red row stays red until that chip comes out.
Tap a row to trace it through the wires.
Board 6: an OR in the first socket; the tip reads XOR is on when exactly one input is on.
The chips
A chip only fits a socket with the same number of inputs (Wrong socket shape). Not every chip in the tray is needed: decoys appear from the middle boards.
Chip
On when
AND
both inputs on
OR
any input on
XOR
exactly one input on
NAND
not both on
NOR
both off
NOT
its input is off
WIRE
its input is on
Board 17: three switches, eight rows to match; a NAND going in.
24 boards, one chip per socket
Every placement costs a spark; taking a chip back is free; out of sparks is a short circuit. Stars: placements equal to the sockets (one spare allowed on 4 or more) three; a used hint caps a board at two. With one placement per socket, all 24 got three stars. Our search found exactly one answer on every board, as the game promises.
Boards
Sockets
Placements
Search steps
1-8
1-4
one per socket
2-24
9-16
2-5
one per socket
5-52
17-24
4-7
one per socket
48-862
Board 24: seven sockets; 12 of 16 sparks left after four chips.
Controls
Drag a chip onto a socket, or tap the chip and then the socket. Tap a placed chip to take it back.
Choose a socket with Left and Right and a chip with Up and Down; Space plugs it in or takes it back, H hints.
Board 24: DOOR OPEN!, three stars, 7 placements for 7 sockets.
Questions
Why does a row stay red when I swap a later chip?
An earlier chip already decided that row wrong. Take that chip back first.
Do I have to use every chip?
No. Some trays hold decoys that fit nowhere in the right answer.