2 ms·
At least https://www.learngermanwithgames.com/games/german-verbs-to-english https://www.learngermanwithgames.com/games/german-verbs-to-e... : has a bug. It sho
by 1718627440 1y ago
At least https://www.learngermanwithgames.com/games/german-verbs-to-english https://www.learngermanwithgames.com/games/german-verbs-to-e... : has a bug. It shows correct, as soon as your substring matches. Thus, you can enter the first letter of the word and it will show it as correct.
- predictand 1y agoThat's a good catch! Thanks for reporting.
- 1718627440 1y agoI'm curious, how do you write such a bug? Accidental early return in the comparison function or what?
- predictand 1y agoSo, 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.
- 1718627440 1y agoYeah, I guess you should just split your source data into words.