pacman with Javascript
- Use arrowkeys to move pacman
- If all pac dots are eaten, you win.
- If you eat power pellet, ghosts are scared and could be eaten by you.
- If you eat all ghosts, you win.
- If any ghost eat pacman, game over.
- The effect of power pellet does not accumulate.
- Press "space" changing pacman color.