Logic Circuit Builder

Interactive digital logic gate puzzle and educational tool

Circuit Input Controls

Input A
Click to toggle
Input B
Click to toggle
Simulation Stopped

Logic Gates

Drag gates to the canvas

&
AND Gate
Output true when both inputs are true
≥1
OR Gate
Output true when at least one input is true
¬
NOT Gate
Inverts the input
XOR Gate
Output true when inputs are different
NAND Gate
NOT AND - inverted AND gate
NOR Gate
NOT OR - inverted OR gate

Circuit Canvas

🔵 Click BLUE output dots to start connections, then click RED input dots

A
B
OUT

Start Building Your Circuit

1. Drag logic gates from the library to this canvas
2. Move gates by dragging them around
3. Click 🔵 BLUE dots (outputs) to start connections
4. Then click 🔴 RED dots (inputs) to complete connections
5. Connect final output to the RED dot next to OUT
6. Use input controls to test your circuit

💡🔵 Blue = Output, 🔴 Red = Input

Challenges

How to Connect:

  • • 🔵 Blue dots = Outputs (click to start connection)
  • • 🔴 Red dots = Inputs (click to complete connection)
  • • Click blue dot → then click red dot
  • • Red dashed line shows active connection
  • • Blue solid lines show completed connections
  • • Connect final output to red dot next to OUT
  • • Click anywhere to cancel connection
  • • Connecting to occupied input replaces old connection