Rithvik Potluri 11/15/2021 Sprint 4 PlayerCollisonHandler.cs Zach Jones Zach wrote the PlayerCollisionHandler.cs file to provide implementation that handles collisions between link and the walls, blocks, and enemies in the game. This class starts with the constructor which takes in a game object. It then has a method that checks collisions with walls which takes in two parameters, a wall of type IBorder and the side of type ICollision. The method has a switch case which checks which side link collides with the wall and sets link’s position based on which side link collides with the wall. For example, if link collides with the left side of a wall, he stays on the left side of the wall. The next method that checks collision with blocks has the same implementation but takes in a block of IBlock instead of the wall. The next method is for when link collides with an enemy and this method ensures that link takes damage when he gets hit by an enemy. The next method checks to see if link collides with an item. This method is used for link to pick up items he runs into and return the item he is currently holding so it is replaced with the new item. Finally, the last method is used to check when link is hit by an enemy projectile. When focusing on the code readability, it is very easy to follow along and understand what the code is doing. The method names are great and explain exactly what collision is being checked and the parameters do a good job of explaining what is being passed into these methods. The code inside of the switch cases also do a great job of explaining what is being checked and where the players position is getting set. By using variable names instead of constants it made the code much easier to read and understand. One thing that was confusing to understand was what stageItem is and what its role is so that is something that should either be renamed or explained using comments. Aside from that, this code was very easy to read and understand.