Skip to content

Simple pac-man video game with a single level, made using OOP and Java Swing.

Notifications You must be signed in to change notification settings

GitLN01/pac-man-java-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Pac-Man

Pac-Man is an arcade game developed by Namco and distributed under license in the United States by Midway, first released in Japan on May 22, 1980. Extremely popular in the United States from the day of its release until today, Pac-Man is universally considered one of the classics of this medium, practically synonymous with video games and one of the icons of popular culture of the 1980s. After its release, this game became a social phenomenon.

How to play:

• The player controls Pac-Man, who must collect all the food (called "Pellets") inside the closed maze while avoiding the colored ghosts. The more points he collects, the higher the score, and if he comes into contact with the spirit 3 times, the game ends and the number of points is canceled. The time of passing the game is not limited.

• The maximum number of points is 300, and if the player achieves that number of points, an optional dialogue appears with the message that he has won and if he wants to restart the game, and if he loses 3 lives, an optional dialog also appears with the message that he has lost and if he wants to to restart the game ("Yes" - the window does not close, the game restarts and deletes the number of points and lives that the player previously had, pacman and ghosts return to their original place and fill the empty spaces with dots, "No" – the window closes).

• Pac-man moves around the map with the help of the arrows on the keyboard.

UML diagrams:

• Use case diagram:



• Diagram of activities:



• Diagram of classes:



External design:

• First image shows the beggining of the game, second what happens when you achieve 300 points, and the third one what happens when you lose.







About

Simple pac-man video game with a single level, made using OOP and Java Swing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages