From 8484b7e5076922fc7f8b1b19f8c0b5cdca87e9e9 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Tue, 11 Dec 2018 12:53:22 +1200 Subject: F now bangs! --- DESIGN.md | 6 +++--- desktop/core/library/f.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index 21013f6..aeac2fd 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -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}`) } } -- cgit v1.2.3