6 ms·
Author here: I'm curious if anyone took the time to complete the text adventure?
by brucehauman 2y ago
Author here: I'm curious if anyone took the time to complete the text adventure?
- deathanatos 2y agoI got a bit stuck. (I got the 5 items. Somehow lost :key-code. I think I inadvertently duplicated :close-paren and :unlock-function, though I have no idea how. In :utility-room, the "bookcas " is missing an e. When the mouse is over one of those inline-eval boxes, "scroll up" works, "scroll down" does not. edit: oh, I was trying to play the whole game before the rest of the article too … so that was probably harder than it needed to be ^_^ edit: (pop) seems to be what screws up my inventory, dropping multiple items from the stack, but if :a :b are dropped, they end up as like :b :b ? edit: I think I beat it? I got to exit-to-freedom, which I'm assuming is the end.
- brucehauman 2y agoI probably made the puzzle harder than it needed to be... I fixed the sp error in the utility room.
- deathanatos 2y agoI think I beat it, assuming reaching exit-to-freedom is the win condition. I think it's (pop) that screws up my inventory? Seems like it pops two things, and one becomes the other.
- brucehauman 2y agoWell I'll need to fix that! edit: it's fixed, you might need a shift-reload to get the new code.
- brucehauman 2y agoYou beat it. Even on hard mode where the pop function wasn't working.
- Cogito 2y agoCompleted it. Was really fun, thank you! I wasn't sure how to chain function calls so had to look that up to implement movei, but apart from that was fairly straightforward (it's (do (<func1>) (<func2>) ...)). My UI was pretty simple and ended up being (defn looki [] (display-html (look-html (look)))) (defn movei [dir] (do (move dir) (looki))) (looki) (movei :south) (movei :east) (movei :north) (movei :south) (movei :west) (unlock-function :spoiler) (stack) (push :picture) (push :spoilers) (peek) (pop) (reset)
- brucehauman 2y agoAwesome!