← whatifs.fun

⚡ Circuit Builder

Connect logic gates to match the required output signals

Level 1 / 25 Introduction: Buffer
Logic Gates — drag onto board
AND A
OR O
¬ NOT N
XOR X
NAND D
Gates used: 0 / min: ?
Inputs
Required Output
A AND O OR N NOT X XOR D NAND Del Remove selected Esc Cancel wire
▼ Show Truth Table

What Is Circuit Builder?

Circuit Builder is a free browser-based logic gate puzzle game where you design digital circuits to produce specific output signals. Starting with the simplest single-gate puzzles and progressing through 25 increasingly complex challenges, you'll learn how computers process information at the most fundamental level — through binary signals and boolean logic.

Each puzzle gives you a set of input signals (0 or 1) and asks you to arrange logic gates so the circuit produces a required output. Drag gates onto the board, connect them with wires, and click Simulate to watch electrical signals flow through your creation.

Modern CPU chips contain over 10 billion transistors, each acting as a tiny logic gate — all performing the same basic operations you're doing in this game.

How It Works

Drag logic gates from the component tray onto the circuit board. Click a gate's output pin to start drawing a wire, then click an input pin to complete the connection. Toggle input values by clicking the input nodes on the left. When you think your circuit is ready, click Simulate to run the signals and see if your output matches the required values shown on the right.

Your score is based on efficiency — solving the puzzle with fewer gates earns more stars. Every level has a minimum gate solution; finding it earns a perfect 3-star rating. Use keyboard shortcuts (A, O, N, X, D) to quickly add gates, and Delete to remove the selected gate.

Frequently Asked Questions

Do I need to know electronics?

No! The game teaches you as you go. Start with simple NOT gates and gradually learn AND, OR, XOR, and NAND gates through intuitive puzzles.

What logic gates are available?

Five gate types: AND (both inputs must be 1), OR (either input is 1), NOT (inverts input), XOR (inputs must differ), and NAND (NOT-AND).

How does the scoring work?

Each level awards up to 3 stars based on the number of gates used. Fewer gates = more stars. Try to find the most efficient solution!

Related Games

Last updated: April 2026 · ← whatifs.fun