Move with arrow keys. If you want to see the map click space, and then 9 to exit the map.
I made this with the raycasting tutorial on the Scratch Wiki: https://en.scratch-wiki.info/wiki/Raycaster I'm working on a better version, but boy is it going to take a while! I have a version with more levels here; https://scratch.mit.edu/projects/226043052/