I have been playing around with bags (or multisets) for a while now, and thinking of ways to employ them, I have time and again come back to interactive fiction.
There is this really neat project, Ceptre, which I stumbled across maybe 6 years ago? lurking on lambda-the-ultimate.
That's åwesome, thanks. More of what I was looking for
Will be interesting to see where he diverges from Inform, which he states is a big influence. The fact that it's based on Prolog is great, too, because I am quite interested in applying "logic programming" to the domain, à la *kanren.
I'm not saying this is a good way of doing interactive fiction. It's just the way I did it. Let me know if you'd like more information on how it works technically.
Thank you, @cadence. I am busy browsing through your wonderful vignette; it reminds me somewhat of the feeling I had reading the odd little stories in the interludes when playing Atom Zombie Smasher.
As someone who mostly thinks but rarely does, this is peak.
I've had a couple of hiccups with:
sequence-contract-violation: negative: method set-max-width cannot be called, except in states (unlocked write-lock), args 415
during interactions at the next place (without wanting to give anything away), which seems to depend on my window's dimensions.
Yes, a very annoying bug. I wasn't able to figure out what causes it or any ways to prevent it. If you know anything about Racket's editor% and snip%s, I encourage you to take a look at the code.