←back to thread

191 points SeenNotHeard | 2 comments | | HN request time: 0.524s | source
Show context
vunderba ◴[] No.44424058[source]
Nice job. I think it might be worth adding a few more verb synonyms to make the parser a little bit less strict - what's a few more years of development. :)

Like many other devs I also dipped my feet in the world of interactive fiction. As a kid I was just learning about concepts such as inheritance / OOP / etc. so I went a bit overboard on the ontology.

I remember pretty early on making a rather large mistake in that regard when a friend who was beta-testing the game for me at the time typed in commands like "get key", "get sword", "get ye flask", and then "get Aldwin" to which the game merrily replied "OK" and promptly stuffed an entire human being into the player's inventory.

replies(2): >>44424217 #>>44424249 #
drewolbrich ◴[] No.44424249[source]
I remember writing one of these and typing "put bag in bag" and then being confused why the bag disappeared from the world.
replies(2): >>44424632 #>>44424659 #
IggleSniggle ◴[] No.44424632[source]
Should have done it the other way around
replies(1): >>44424775 #
itsbenweeks ◴[] No.44424775[source]
Much better to have the world disappear from the bag.
replies(1): >>44425105 #
1. kevindamm ◴[] No.44425105[source]
put bag in bag of "things which do not contain itself"
replies(1): >>44425661 #
2. dp-hackernews ◴[] No.44425661[source]
Russell's Paradox: https://en.m.wikipedia.org/wiki/Russell%27s_paradox