Add or gate, update level 4 to use all logic gates
This commit is contained in:
parent
c749f22fe8
commit
6b9edbca25
5 changed files with 81 additions and 27 deletions
|
@ -47,6 +47,7 @@
|
|||
(target-y (bytevector-u8-ref objects (+ i 4))))
|
||||
(spawn ^electric-switch x y target-x target-y)))
|
||||
(13 (spawn ^xor-gate x y))
|
||||
(15 (spawn ^or-gate x y))
|
||||
(id (error "invalid level object" id))))
|
||||
(i* (+ i (match id
|
||||
;; floor-switch or electric-switch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue