News for hackers. Stuff that matters.
Re:Show HN: 3D Raycasting Engine in JavaScript by tombert on Tuesday March 31, 2020 @04:07PM (#22741907)
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.

Re:Show HN: 3D Raycasting Engine in JavaScript by ahuth on Tuesday March 31, 2020 @04:15PM (#22742010)
My 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.

Re:Show HN: 3D Raycasting Engine in JavaScript by tombert on Tuesday March 31, 2020 @04:56PM (#22742480)
Yeah, I wouldn't expect them to already know the way to do it, more of a "walk-them-through-it" question.