Post #2685451
2026-04-07 23:01 UTC
hehehe, a text-based adventure game is theoretically possible. I added a naive "?" command to get a line of input (its then split into words, and those words are put into the bag)
I think user input will be fiddly though, because its essentially giving the user a REPL with unlimited access to the program. Perhaps limiting the input to a specific subset of words would work, like ?[look take quit]
Replies (0)
No replies.