Used java swing
Steps to run pacman-1. Download the zip file and extract it.
2. Run App.java.
3. You will have 3 lives, Use the up-down and right arrow keys to make pacman move.
4. As the pacman moves it eats the food on the path.
5. On collision with any of the ghost will result in loosing a life.
6. If you loose all the 3 lives the gameOver text appears with the total points scored.
7. If you press any key the game will restart.
Thank You