Objective: Make a maze puzzle game.
Problem: It needed to stop the game when you hit a wall.
Solution: I added detection to the ball's coordinates to trigger the end game flag when it comes in contact with any of the walls.