- 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.
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:
| Gate | Output Rule | Best Use Case | Difficulty |
|---|---|---|---|
| AND | Signal only when all inputs are on | Multi-lever door locks | ★☆☆☆☆ |
| NAND | Signal unless all inputs are on | Alarm that fires when one lever drops | ★★☆☆☆ |
| OR | Signal when one or more inputs are on | Any-lever activation | ★☆☆☆☆ |
| NOR | Signal only when no inputs are on | Dead-man switches | ★★☆☆☆ |
| XOR | Output flips whenever an input updates | Toggle circuits, counters | ★★★★☆ |
| XNOR | Like XOR but with inverted output | Matched-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.
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.
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.
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.
Add Inversion Gates
Swap in NAND and NOR. Verify the outputs are the inverse of AND and OR under the same lever states.
Experiment with XOR
Toggle inputs one at a time and watch the output flip on each update. Repeat until the behavior feels predictable.
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.
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
| Build | Gates Needed | Core Function | Builder Level |
|---|---|---|---|
| Latch Switch | 1-2 gates | Memory / state storage | Beginner |
| Universal Inverter | 3 gates | On-demand signal inversion | Intermediate |
| Multi-lever lock | AND chain | Requires all levers to fire | Beginner |
| Any-lever trap | OR + NAND | Triggers and alarms | Intermediate |
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
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.