Use the arrow keys to keep the ball from sticking to the walls!
Objective:
We had to make a maze game that would challenge the player to navigate their way from point A to Point B without hitting any walls.
Problem:
What was challenging about this project was figuring out how to get the game to recognize when the player had hit a wall. At this point, the ball would be able to cross the walls, without limitations keeping them from the finish line, which wouldn’t be very challenging of a game. The walls were visually there, but they did not make an impenetrable course for the player.
Solution:
We were able to have the game acknowledge the walls as barriers by using the same data for drawing the walls in a data structure that we could use in a different part of the code that made the walls into barriers.