A Pac-Man inspired desktop game built using Java Swing, demonstrating GUI development, event handling, game loops, and 2D rendering in Java.
This project is a Java Swing–based desktop application inspired by the classic Pac-Man game.
It showcases core software engineering and game development concepts, including:
- Real-time 2D rendering using Java AWT
- Keyboard input handling with event listeners
- Continuous game loop for smooth animation
- Object-oriented design and separation of concerns
The application runs locally on any Java-enabled system and is suitable for academic, portfolio, and learning purposes.
- Smooth character movement with keyboard controls
- Real-time screen rendering and updates
- Lightweight, responsive desktop application
- Cross-platform compatibility via the Java Virtual Machine
- Clean and modular Java codebase
| Technology | Usage |
|---|---|
| Java | Core programming language |
| Java Swing | GUI framework |
| Java AWT | 2D graphics rendering |
| KeyListener | Keyboard event handling |
PacMan/
├── App.java → Application entry point
├── PacMan.java → Game logic and rendering
├── PacMan.mp4 → Original gameplay recording
├── PacMan.gif → Autoplay gameplay preview
└── README.md
