Logic Forge — the Logic Gate Puzzle Game
Logic Forge is a free browser puzzle game that teaches Boolean logic by playing. Each level hands you a target truth table and a limited set of logic gates (AND, OR, NOT, NAND, NOR, XOR). Your job: drag gates onto the canvas, wire the inputs through them to the output, and make your circuit match every row of the table. Hit the par gate count and you earn three stars.
Why a logic puzzle game beats memorising truth tables
Anyone can memorise that XOR is 1 when inputs differ. But building XOR out of four NAND gates, or making a 2-of-3 majority voter, or a 2:1 multiplexer from scratch, forces you to actually understand Boolean algebra, universal gates and circuit minimisation. The live truth table shows exactly which input combinations you have right and which you still have wrong, so every wire you add gives instant feedback.
What you'll practise
- Universal gates — build NOT, AND and OR using only NAND.
- XOR / XNOR — the classic "make it from AND/OR/NOT" challenge.
- Majority & parity functions on three inputs.
- Multiplexers — select between inputs with a control line.
- Gate-count optimisation — beat par by minimising your design.
How to play
- Pick a gate from the palette, then click the canvas to place it.
- Click a green output dot, then a blue input dot to draw a wire.
- Click an input (A, B, C) to toggle it and watch the circuit light up.
- Press Check solution — match all rows to win and earn stars.
- Right-click a gate or wire to delete it.
FAQ
Is Logic Forge free?
Yes — it runs entirely in your browser, no install or signup. Progress and stars are saved locally on your device.
What's the "par" gate count?
Par is the gate count of a good, minimal solution. Solve the level at or below par for three stars; a few gates over still counts as solved with fewer stars.
Want a free-build sandbox?
Try the Logic Gate Simulator for an open canvas with flip-flops, clocks, a 7-segment display and waveform probes.
Related: Logic Gate Simulator · Digital Electronics · FSM Designer