Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Yeah, I guess you should just split your source data into words.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: