Please watch this video to see how I create a simple version of Pacman.  Rewatch the video, if necessary, to understand what's happening.

Add additional features in the game to make it complete.

  • Allow the pacman to move in all directions.
  • Make the maze a lot bigger and more interesting.
  • Prevent the pacman from moving acros the wall/brick.
  • Have a cherry appear.  Cherry is worth 20 point.
  • Have up to 5 different maze/worlds.  When a page is reloaded, have one of the 5 randomly be chosen and shown on the page.
  • Add ghosts that chase the pacman (keep it simple)