Build a Boat for Treasure Logic Gates: Setup Guide & Builds - Guide

Build a Boat for Treasure Logic Gates: Setup Guide & Builds

Learn how every logic gate in Build a Boat for Treasure works, from AND to XNOR, plus step-by-step latch and inverter builds.

2026-09-29
Build a Boat for Treasure Wiki Team
Quick Guide
  • Build a Boat for Treasure logic gates were added in the test update and transform how wiring works.
  • Six gates exist: AND, NAND, OR, NOR, XOR, and XNOR, each with distinct output rules.
  • NAND and NOR are inverted versions of AND and OR, respectively.
  • XOR is the trickiest gate: its output flips whenever an input is updated.
  • Latch switches and universal inverters are two popular starter builds using these gates.

Logic Gates Overview: What They Do

The Build a Boat for Treasure logic gates update introduced six gate types that let you control signal flow between switches, levers, and outputs. Before this update, complex wiring required clever lever placement. Now, gates let you build proper circuits directly on your boat.

Here's a visual walkthrough of all six gates in action:

Video Highlights:

  • All six gates demonstrated with three-lever test setups
  • AND gate outputs only when every input is active
  • XOR gate inverts its output whenever an input updates
  • Two example builds: latch switch and universal inverter

Every gate takes multiple inputs and decides whether to release a signal based on simple rules. Understanding these rules is the foundation for every advanced mechanism you'll build afterward.

Start Simple

Test each gate with levers on a flat build plate before wiring it into your boat. Watching the signal behavior firsthand builds faster intuition than memorizing truth tables.

All Six Gates Compared

Each gate behaves differently depending on which inputs are switched on. Use this master table to pick the right gate for the job:

GateOutput RuleBest Use CaseDifficulty
ANDSignal only when all inputs are onMulti-lever door locks★☆☆☆☆
NANDSignal unless all inputs are onAlarm that fires when one lever drops★★☆☆☆
ORSignal when one or more inputs are onAny-lever activation★☆☆☆☆
NORSignal only when no inputs are onDead-man switches★★☆☆☆
XOROutput flips whenever an input updatesToggle circuits, counters★★★★☆
XNORLike XOR but with inverted outputMatched-switch mechanisms★★★☆☆

A few practical patterns worth remembering:

  • OR is your default gate — most boat mechanisms just need "any input triggers the output."
  • NAND/NOR save space — instead of an AND or OR followed by an inverter, one gate does both jobs.
  • XOR pairs well with itself — chaining XOR gates creates toggle and memory behavior.
XOR Behavior Is Not Intuitive

The XOR gate doesn't follow the classic "exactly one input" rule here. Its output inverts every time an input is updated, which surprises builders expecting textbook logic. Test it before trusting it in a build.

Step-by-Step: Building Your First Circuits

Follow this sequence to go from zero working knowledge to functional mechanisms on your boat.

1

Set Up a Test Bench

Place three levers and one gate on flat blocks. Wire each lever to a separate input so you can toggle inputs independently and observe outputs.

2

Learn AND and OR First

Flip lever combinations and confirm the AND gate only fires when all three are on, while the OR gate fires when any single lever activates.

3

Add Inversion Gates

Swap in NAND and NOR. Verify the outputs are the inverse of AND and OR under the same lever states.

4

Experiment with XOR

Toggle inputs one at a time and watch the output flip on each update. Repeat until the behavior feels predictable.

5

Build a Latch Switch

Combine two gates so the first switch's output is stored and only changes when the second switch flips — your first memory circuit.

Checkpoint

If your latch holds its state after the first switch is released, you've successfully built memory into your boat. That's the core concept behind every advanced gate mechanism.

Practical Builds: Latch Switch & Universal Inverter

Two starter builds demonstrate why gates matter. Each solves a real wiring problem on boats.

Latch Switch

  • Stores output from the first switch
  • State cannot change until second switch flips
  • Acts as simple memory
  • Great for one-time door releases

Universal Inverter

  • Two side switches enable the top gate's output
  • Middle switch inverts any signal passing through
  • Works as a reusable signal flipper
  • Useful for locked-unlock toggling
BuildGates NeededCore FunctionBuilder Level
Latch Switch1-2 gatesMemory / state storageBeginner
Universal Inverter3 gatesOn-demand signal inversionIntermediate
Multi-lever lockAND chainRequires all levers to fireBeginner
Any-lever trapOR + NANDTriggers and alarmsIntermediate
Design Habit

Plan your lever positions before placing gates. Group inputs on one side and outputs on the other so wiring stays readable when your circuits grow.

Mastering Logic Gates: Checklist

Work through these milestones to fully internalize the gate system:

Logic Gate Mastery Goals:

  • Demonstrate all six gates with levers on a test bench
  • Explain NAND vs AND outputs from memory
  • Build a working latch switch
  • Build a universal inverter
  • Wire a multi-gate circuit into an actual boat
Why It Matters

Boats with gate-based controls let crewmates trigger engines, doors, and traps from multiple stations — a major quality-of-life upgrade over single-lever designs.

FAQ

Q: What are the logic gates in Build a Boat for Treasure?

Six gates were added in the test update: AND, NAND, OR, NOR, XOR, and XNOR. Each takes multiple inputs and releases or withholds a signal based on which inputs are active, with the N-variants providing inverted outputs.

Q: How does the XOR gate work in Build a Boat for Treasure?

The XOR gate inverts its output whenever an input is updated. This differs from classic textbook XOR logic, so test it with levers first. Chaining XOR gates enables toggle and memory-style circuits.

Q: What is a latch switch and how do I build one?

A latch switch stores the output from a first switch and holds that state until a second switch is flipped. Build it by combining gates so the stored signal loops back, creating simple memory on your boat.

Q: Which gate should beginners learn first?

Start with AND and OR, since they have the most intuitive rules: AND needs every input on, OR needs just one. Once those feel natural, add NAND, NOR, and finally XOR and XNOR.