This question is going to sound very dumb but I am stuck here. I'm a beginner so I honestly have no clue what I'm doing.
Anyways I am trying to develop a maze game where a ball goes around the maze and moves around with up, down, left, and right buttons. I'm trying to program it so that when the ball touches the maze (which is in the canvas) the game restarts. I'm not sure where to start so please help me!