The logic gates are generally pretty self explanatory when taking binary into account. However, due to the analog (not TRUE/FALSE but with a value) signals of this game, they function a little bit differently.
Wanted to make a little guide to explain how they work in detail, with spreadsheets to help visualize it.
Might expand this guide later to include other components there is confusion about
(mostly made this cause I figured out XOR and wanted to share)
Image explanation
- Top left corner: Gate type
- Orange top row: Input 1
- Blue left column: Input 2
- Everything else: Output
AND Gate (Image 1)
- If inputs are identical.
- Output = Input
- If inputs are different.
- Output = 0.0
XAND Gate (Image 2)
- If inputs are identical and 0.0.
- Output = 10.0
- If inputs are identical and not 0.0.
- Output = Input
- If inputs are different.
- Output = 0.0
OR Gate (Image 3)
- Any inputs
- Output = Largest Input
XOR Gate (Image 4)
- Any inputs
- Left table is numeric values, right table is binary
- Convert inputs into binary
- *Compare each digit in each position.
- *If digits in position
nare different, output 1 in positionn* - *If digits are the same in position
n, output 0 in positionn* - For example: 010 & 110 would output 100, cause 1st digit is different (1) , but 2nd and 3rd are the same (0)
- For example: 11110 & 11111 would output 00001, cause 5th digit is different (1) , but the rest are the same (0)
- Convert output back to a numeric value