raycaster
raycaster copied to clipboard
Add Wall collision into the game
I also refactored IsWall() into class Game. This allows me to use this function in Game and remove duplicates of IsWall() for cleaner code.
You should use git rebase -i to rework the commits. There should be NO commit which refers to "Merge branch 'master'."
I removed unnecessary commits and files. Also, I added some comments to explain PLAYER_RADIUS and the colliding mechanism.
I would like to ask @WeiCheng14159 for reviewing.