4 ms·
I know. I saw that link and viewed it. I listed what verbs I figured out on my own (found within the game or guessed) as a comment on what the whole user experi
by sde 12y ago
I know. I saw that link and viewed it. I listed what verbs I figured out on my own (found within the game or guessed) as a comment on what the whole user experience of the game was like. It left me feeling like avoiding Lisp, even after I tried again and--only because of getting tips from the comments here--got into the Lisp interpreter part. It was still a frustrating guessing game with no point.
- harryjo 12y agoYou are correct, but I don't know that the author is interested in fixing it, since the web page was published so long ago that the author could have since had a child who is now capable of writing something like http://learnlispthehardway.org/try-lisp/ http://learnlispthehardway.org/try-lisp/ that is accessible to modern humans.
- sde 12y agoThat seems better. However, the return values were almost too dark to read while there's daylight, and I got only eight commands into it before I found an error. (mod -3 5) returns -3. I don't know if that error is just in this implementation, or in many versions of Common Lisp, but a quick search shows there are versions of Common Lisp where mod is implemented correctly. (In mathematics, -3 = 2 modulo 5, or equivalently (-3 mod 5) = 2. Even Python knows that -3 % 5 == 2, where '%' is Python's modulus operator.)