19 ms·
A couple years ago I got bored on the train, and coded a simple ray-caster in Pico-8. Ray-Casting is fun because it's a relatively simply algorithm to "redisco
by tombert 7y ago
A couple years ago I got bored on the train, and coded a simple ray-caster in Pico-8.
Ray-Casting is fun because it's a relatively simply algorithm to "rediscover", and can be coded in just a few hundred lines of code... I've debated making it a guided question to ask during interviews, though I've resisted thus far because I'm afraid it might be a bit too much for a junior candidate, and might be too easy for a senior candidate.
- ahuth 7y agoMy worry about asking it as a question is that because it's kind of esoteric, someone could have all the tools they need to implement it, and not know it. That's probably where your guidance comes in, though.
- tombert 7y agoYeah, I wouldn't expect them to already know the way to do it, more of a "walk-them-through-it" question.