top | item 45752891

(no title)

predictand | 4 months ago

That's a good catch! Thanks for reporting.

discuss

order

1718627440|4 months ago

I'm curious, how do you write such a bug? Accidental early return in the comparison function or what?

predictand|4 months ago

So, in that particular game, I wanted to match a substring, since my data source includes some responses written as "let/allow" or "drive (vehicle)", which isn't realistic to expect the user to type. So, I just figured I would quickly work around that by allowing a substring match. However, I didn't really think about the edge cases all that much.