Check out the original post here: https://zserge.com/posts/raytracer/
I pretty much put it all in here line for line from the tut but added a main loop that you can move up down left right using the arrow keys followed by enter. It's like a really crummy game where you can't turn, but it is cool!