diff options
author | Devine Lu Linvega <[email protected]> | 2018-12-11 12:53:22 +1200 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2018-12-11 12:53:22 +1200 |
commit | 8484b7e5076922fc7f8b1b19f8c0b5cdca87e9e9 (patch) | |
tree | 5107cdbe72e0aa75f23e97109106441a26df87cc | |
parent | ec7fa80cc21277026572f9699a2b8606646cba93 (diff) | |
download | Orca-8484b7e5076922fc7f8b1b19f8c0b5cdca87e9e9.tar.gz Orca-8484b7e5076922fc7f8b1b19f8c0b5cdca87e9e9.zip |
F now bangs!
-rw-r--r-- | DESIGN.md | 6 | ||||
-rw-r--r-- | desktop/core/library/f.js | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -4,13 +4,13 @@ | ---------- | ----------- | Directions | N S E W Z | Math | A I M R -| Converters | B F +| Logic | F | Timers | C D | Writers | X G P | Readers | O Q T | Jumpers | J Y | ---------- | ----------- -| Misc | H K L U V +| Misc | B H K L U V | Special | * ; : ! # # Attributes @@ -22,7 +22,7 @@ | C* | +++++ | | Any | D* | +++++ | | * | E* | +++++ | | -| F | ? | | ? +| F* | +++++ | | * | G | ++++ | X | Any(multi)(unlocked) | H* | +++++ | | Any | I* | +++++ | | Any diff --git a/desktop/core/library/f.js b/desktop/core/library/f.js index 2f5e000..475e776 100644 --- a/desktop/core/library/f.js +++ b/desktop/core/library/f.js @@ -15,7 +15,7 @@ function OperatorF (orca, x, y, passive) { this.run = function () { const a = this.listen(this.ports.input.a, true) const b = this.listen(this.ports.input.b, true) - const res = a === b ? '1' : '0' + const res = a === b ? '*' : '.' this.output(`${res}`) } } |