Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

You're welcome:)

The code you provided doesn’t assume that the player could’ve asked any kind of question starting with the word “where”

Yes, but you could have several keyword checks:

if (toldAboutMurder && message.Contains("where")
    && (message.Contains("murder") || message.Contains("kill")) { ... }

Have you played "Her Story"?

It's purely keyword based and there are absolutely no restrictions to what you can request at any moment. It will provide you with the first five search results, which means common requests like "where", "murder" will most likely lead to earlier story responses and to get to the later ones you naturally need to ask for something more specific. But still, the game doesn't restrict you from accessing the "later" story, you could just randomly stumble on it at the beginning, but you won't understand it yet, so you still need to "explore" a lot to be able to puzzle together what happened.

Yes, I absolutely loved it!

(+1)

Yes, but you could have several keyword checks:

Of course I have several keywords. The problem was that you’ve texted only one word “where”. Key words to get response in that situation are: “where”, “did”, “you”, “find”, “the”, “body”, “corpse”, “location”, “city”.

I haven’t played “Her Story”, but I’ve heard a lot of positive things about it. Guess I’ll try it soon.