Choose the OUT port on the source or upstream gate that supplies the signal the next component needs, then select an empty IN port on that next gate or on the final OUTPUT card.

In Logic Gate Puzzle, an OUT port starts a directed wire and an IN port receives it. The selected OUT is identified visually and textually, allowing you to confirm that you picked the sender before creating the connection. Your task is to construct a complete directed Boolean circuit, not select an answer from multiple choices.

how do i choose gate out port when using logic gate puzzle
How Do I Choose a Gate OUT Port in Logic Gate Puzzle?

Understand the OUT-to-IN direction

The OUT side of a source or gate supplies a signal. The IN side of another gate or the final OUTPUT consumes it. You always begin by selecting a SOURCE or gate OUT port, then choose an empty gate or final OUTPUT IN port as the destination.

One important exception applies to how inputs work: an OUT may fan out to more than one destination, but each IN accepts exactly one driver. This lets one source feed both inputs of an AND gate without violating the input rule.

Gate Required inputs Condition for a TRUE result Useful role
AND Two Both inputs are TRUE Combines two branches that must both succeed
OR Two At least one input is TRUE Satisfies a branch when either available source works
NOT One Its single input is FALSE Turns a FALSE source into a TRUE signal

These Boolean definitions follow the introductory treatment in MIT OpenCourseWare’s Introduction to Digital and Northwestern University’s logic-gate reference. In the game, however, your concern is the directed graph you build, not electrical timing or physical components.

Trace backward from the final OUTPUT

Begin at the final OUTPUT card and examine its IN port. Ask which upstream gate output must feed it, then continue tracing through that gate’s inputs until you reach fixed SOURCE cards. This backward reasoning makes the OUT-port choice concrete: select the gate whose output supplies the branch required by the next component.

Work backward through the value as well as the wiring. An AND input needs a TRUE driver, so trace its source to determine whether that driver is a direct TRUE source or a NOT gate whose FALSE input produces TRUE. An OR input can be satisfied by either TRUE input, but its other input still needs a driver. A NOT gate needs exactly one source whose opposite value will be useful.

Continue until every gate output has a directed path to the final OUTPUT. A visually complete circuit can still be invalid if an isolated gate remains, an input has no driver, or a wire travels in the wrong direction.

Wire the selected OUT port step by step

  1. Locate the SOURCE, gate, and final OUTPUT cards on the current fixed level. Read the fixed TRUE or FALSE value shown by each source.
  2. Identify the upstream gate or source that must feed the next required IN. Trace backward from the destination until that driver is clear.
  3. Select the driver’s OUT port. Confirm that the game’s visual and textual selected-output indication identifies the intended source or gate.
  4. Select an empty IN port on the destination gate or on the final OUTPUT card. This creates one directed wire from the selected OUT to that IN.
  5. Use the same OUT as the driver for another empty IN when the design requires fan-out. This is necessary on the opening AND level, where one TRUE source feeds both AND inputs.
  6. Fill every remaining declared gate input. Even an OR input that does not need to carry TRUE must have exactly one incoming connection.
  7. Correct a misplaced edge by clicking its filled IN while no OUT port is selected. The wire can then be replaced without restarting the level.
  8. Review the directed wire ledger, which lists each connection as FROM to TO. Confirm that every required input has one driver, every gate output reaches the final OUTPUT, and the evaluated result is TRUE.

Keyboard players can use Tab to move through every port and Enter or Space to select an output, connect an input, or disconnect an occupied input. Pointer and touch players can use the large port buttons directly.

Match the OUT choice to each fixed level

The five boards are original, fixed puzzles rather than randomly generated exercises. Their structures progressively introduce fan-out, OR, inversion, and combined branches.

Level Main gate structure OUT-port choice and wiring goal
1 AND Select the TRUE source OUT and fan it out to both AND inputs; the FALSE source is a distractor.
2 OR Select a TRUE source OUT for one required OR input, while using another source to fill the second input.
3 NOT Select the FALSE source OUT and send it through the inverter, whose output becomes TRUE.
4 NOT feeding AND Route the FALSE source through NOT, then feed the NOT OUT and the TRUE source OUT into the AND gate before reaching the final OUTPUT.
5 OR and NOT feeding a final AND Complete the OR branch and NOT branch, select each branch’s OUT for one of the last AND inputs, and route the final AND OUT to the OUTPUT.

The first level is the clearest case for choosing one OUT as a shared driver. The second level tests the rule that every input must still be filled even when one TRUE source is enough for OR. The third reverses a FALSE value, while the last two require you to choose upstream outputs by following combined branches rather than by looking for a single source.

Confirm a complete, directed circuit

  • Direction: Every wire must run from a source or gate OUT to a gate or final OUTPUT IN.
  • Input ownership: Every declared gate input and the final OUTPUT input must have exactly one incoming wire.
  • Reachability: Every gate output must have a directed path to the final OUTPUT.
  • Value: The final Boolean result must be TRUE when the complete graph is evaluated.

The evaluation engine resolves the graph backward from the final OUTPUT through its drivers. It applies the fixed source values and the AND, OR, and NOT rules without guessing for a missing port. Cyclic graphs are never evaluated.

A partial diagram remains editable and does not count as a mistake. The graph is checked only when all declared inputs are filled and every gate is connected into a valid route toward the output.

Repair a wrong connection

There are two different kinds of wrong action in the game. A structural attempt—such as connecting input to input, output to output, a port to itself, a second driver to an occupied input, a duplicate edge, or a directed cycle—is rejected atomically and leaves the board unchanged. These rejected attempts do not count as logical errors.

A structurally valid but complete circuit that produces FALSE does count as one recoverable graph error. Disconnect its incorrect edge and revise the topology. Rebuilding exactly the same wrong set of edges is deduplicated, so it cannot consume another error; creating a second distinct complete FALSE graph closes the run. Checking the FROM-to-TO ledger before the result is evaluated helps avoid that outcome.

Restarting always returns to the same first board with empty wires and zero score. The puzzle does not shuffle source values or generate a replacement layout.

Scoring and limits that affect wiring

Each level solved with a TRUE final output earns exactly 200 points: 200 points × 5 solved circuits = 1,000 points. There is no timer, speed bonus, random source value, hidden multiplier, adaptive difficulty, or partial-credit formula. Precise wiring and Boolean evaluation determine the result.

Logic Gate Puzzle is a Boolean graph game rather than a transistor or physical-circuit simulator. It does not model voltage thresholds, propagation delay, electrical loading, or hardware behavior. Everything runs locally in the browser with no account, download, upload, or remote solver required.

Final OUT-port checklist

  • Trace backward from the destination to the exact source or gate that should drive it.
  • Confirm that you selected an OUT port before selecting the destination IN.
  • Use fan-out only when multiple inputs genuinely need the same driver.
  • Give every declared input exactly one incoming wire.
  • Ensure every gate output has a directed path to the final OUTPUT.
  • Use the wire ledger to verify direction, then make the complete graph evaluate to TRUE.

For a deeper look, see Einstein Riddle: Answer, Logic and a 3-Person Version.

For a deeper look, see How Do I Know When a Magic Square Puzzle Is Finished?.