Level/NAND Gate

From Turing Complete
Revision as of 20:29, 17 November 2023 by Gelthor (talk | contribs) (Text values in truth table)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Section Basic Logic
Type Component
Prerequisite Crude Awakening
Unlocks NOT Gate
NAND
Scored No
API nand_gate (3)

Time for the first level with an actual logic gate. This level asks you to figure out the behavior of the NAND gate.

NAND Gate Truth Table
Input One Input Two Output
0 0 1
0 1 1
1 0 1
1 1 0

As the truth table shows, a NAND gate returns true unless both inputs are true, then it returns false. So set the result accordingly and press the verify button.