We used JQuery to verify user's details in register and login. In addition we used it for apply game settings and design by collect information from the user.
We used in template for drawing the ghost in the canvas.
The main difficulty at work was planning the displacement of the ghosts alongwith synchronizing the intervals so that they would chase the Pacman in an intelligent way.
Press new key...
GAME
OVER
LOSER!
WINNER!!!
You are better