To control pac man, use the arrow keys, and for ghost 1, W is up, A is left, S is down, and D is right. For ghost 2, the 8 key is up, the 4 key is left, the 2 key is down, and the 6 key is right. And for ghost 3, Y is up, G is left, H is down, and J is right. Pac man has to eat all the dots in the maze while avoiding the ghosts. The blue dots can allow pac man to eat the ghosts for extra poits, but only for a short time.