Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanmeet007/pacman
Pacman game written in JAVA Swing
https://github.com/sanmeet007/pacman
Last synced: about 5 hours ago
JSON representation
Pacman game written in JAVA Swing
- Host: GitHub
- URL: https://github.com/sanmeet007/pacman
- Owner: Sanmeet007
- License: gpl-3.0
- Created: 2023-07-18T12:19:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-18T12:24:43.000Z (over 1 year ago)
- Last Synced: 2023-07-18T13:34:02.965Z (over 1 year ago)
- Language: Java
- Size: 8.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Pacman Game
This is a simple Pacman game implemented using Java Swing, a graphical user interface toolkit for Java. The game aims to recreate the classic Pacman arcade experience where the player controls Pacman, a yellow circular character, and tries to eat all the dots while avoiding ghosts.
## Demo
[![Pacman demo](https://img.youtube.com/vi/GkhsuhZiQGk/0.jpg)](https://www.youtube.com/watch?v=GkhsuhZiQGk)
## Getting Started
To run the Pacman game, make sure you have the following requirements:
1. Java Development Kit (JDK) installed on your system.
2. A Java IDE (Integrated Development Environment) or any text editor to compile and run the Java code.## How to Play
1. Clone or download the source code from the repository.
2. Open the Java IDE or text editor of your choice and navigate to the project folder.
3. Compile and run the `pacman.App` file to start the game.## Game Controls
- Use the arrow keys (up, down, left, right) to move Pacman in the corresponding directions.
- Try to eat all the dots on the board to complete the level.
- Avoid colliding with the ghosts, as this will result in losing a life.
- The game ends when pac collides with any ghost.## Game Features
- **Pacman**: The main player character represented by a yellow circular shape.
- **Dots**: Small white dots scattered throughout the board for Pacman to eat.
- **Ghosts**: Enemy characters represented by colored shapes that chase Pacman.
- **Levels**: The game current support only **one level**.## Contributions
Feel free to contribute to this project by submitting bug fixes, improvements, or new features. Fork the repository, make your changes, and submit a pull request.
## Acknowledgments
This Pacman game is inspired by the classic arcade game "Pacman," created by Namco.
## License
This project is licensed under the [GNU License](LICENSE). Feel free to use, modify, and distribute the code as long as the license terms are followed.