diff options
author | Devine Lu Linvega <[email protected]> | 2018-12-11 11:16:46 +1200 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2018-12-11 11:16:46 +1200 |
commit | ec7fa80cc21277026572f9699a2b8606646cba93 (patch) | |
tree | aae6ca41980c73e2efbd036cdbed50e63e179f1f | |
parent | 159b306427e5fc904cf82c21e193a4c166bb88d7 (diff) | |
download | Orca-ec7fa80cc21277026572f9699a2b8606646cba93.tar.gz Orca-ec7fa80cc21277026572f9699a2b8606646cba93.zip |
Updated examples
-rw-r--r-- | desktop/core/orca.js | 2 | ||||
-rw-r--r-- | examples/bang.orca | 13 | ||||
-rw-r--r-- | examples/filter.orca | 8 | ||||
-rw-r--r-- | examples/pendulum.orca | 8 |
4 files changed, 9 insertions, 22 deletions
diff --git a/desktop/core/orca.js b/desktop/core/orca.js index 5580e52..aa59cc6 100644 --- a/desktop/core/orca.js +++ b/desktop/core/orca.js @@ -118,7 +118,7 @@ function Orca (library = {}) { } this.valueOf = function (g) { - return g !== '.' && this.isAllowed(g) ? this.keys.indexOf(`${g}`.toLowerCase()) : 0 + return g !== '.' && g !== '*' && this.isAllowed(g) ? this.keys.indexOf(`${g}`.toLowerCase()) : 0 } this.indexAt = function (x, y) { diff --git a/examples/bang.orca b/examples/bang.orca deleted file mode 100644 index 5ee7ee8..0000000 --- a/examples/bang.orca +++ /dev/null @@ -1,13 +0,0 @@ -......................................... -.#.BANG.#................................ -......................................... -......................................... -......................................... -......................................... -.....8D4H................................ -.......gE................................ -........................0................ -......................................... -......................................... -......................................... -.........................................
\ No newline at end of file diff --git a/examples/filter.orca b/examples/filter.orca index 533bd20..669607e 100644 --- a/examples/filter.orca +++ b/examples/filter.orca @@ -3,11 +3,11 @@ ......................................... ......................................... ......................................... -...............gD........................ +...............3D........................ ......8D.H............................... -........gE......u........................ +........xE......u........................ +.............E...............E.......E... ......................................... ......................................... ......................................... -......................................... -.........................................
\ No newline at end of file +................*........................
\ No newline at end of file diff --git a/examples/pendulum.orca b/examples/pendulum.orca index 8467f48..dfe2c27 100644 --- a/examples/pendulum.orca +++ b/examples/pendulum.orca @@ -1,11 +1,11 @@ ......................................... .#.PENDULUM.#............................ ......................................... -........U.......E......U................. +........U.......W......U................. ................J........................ -...............B.H....................... -................gS....................... -......................................... +...............BWH....................... +...............*xS....................... +................S........................ ......................................... ......................................... ......................................... |