Skip to content

gokdenis/pacman-swing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Pac-Man (Java Swing)

A Pac-Man style game built with Java Swing with a complete GUI (no CLI interaction). Includes multiple board sizes, animated movement, upgrades, and persistent high scores.

Features

  • Main menu: New Game, High Scores, Exit
  • Choose board size (multiple predefined boards)
  • Live UI: score, time counter, lives, and in-game HUD
  • Stop-motion style movement animations (threads + images)
  • Chance-based upgrades dropped by enemies that the player can collect
  • Persistent high scores using Serializable + High Scores window (JList + scrollbars)
  • Pause at any time with ESC (Pause screen)

Controls

  • Move: Arrow Keys
  • Pause: ESC

How to Run

Option 1: IntelliJ IDEA

Open the project and run:

  • pacman.Main

Option 2: Command Line

From the project root:

javac -d out $(find src -name "*.java")
java -cp out pacman.Main

About

Pac-Man style Java Swing game with animations, power-ups, and persistent high scores.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages