First, you have to click precisely on the "One Player" button, otherwise it won't go. Then, you have to make it through the maze without touching the ghosts. If you make it to the red brick, you have to go through another maze. If you make it to the pink brick on the other maze, you win. The magenta brick doesn't hurt you. (Full Screen is recommended.)
I would like to thank whoever made PAC-MAN on scratch. I would also like to thank the person who posted this maze on Google. Last, but surely not least, I would like to thank my programming teacher and my dad, for giving helpful hints and great ideas.