use w a s d to move the ghost. arrow keys to move pac man. for pac man to win, he has to get the berry at the corners of the maze then get the ghost while it is blue. fo the ghost to win, he has to touch pac man while the ghost is not blue. there are a few bugs. one of them is that pac man and the ghost cant move at the same time. so if you want to at move the same time, you have to press rapidly.
make sure you read the instructions! there are important stuff there. credit to @Epic_Gamer234 for helping me on this game.