W, A, S, and D keys to move, left and right arrow keys to turn. I'm going to use this to make a game. This is a very early look at what the map layout will be. In the final game, I plan to have all of the rooms as their own areas so that I can have a set amount of sprites and then I won't have to create as many variables. Unless I figure out some way to optimize it so I'd only have to use one variable or list. OH! I just had an idea! Each sprite has a slot in a list for its distance and x number, then the raycaster updates those numbers as it detects them. I am literally so smart. Hopefully, it doesn't lag too much, just having one sprite makes the frame rate drop noticeably.
I followed a tutorial on YouTube by DkUniverse (https://www.youtube.com/watch?v=2UloXQnCCh8) and then added color and a sprite on my own.