Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanmeet007 committed Jul 18, 2023
1 parent e5af30a commit 753f91e
Showing 1 changed file with 38 additions and 6 deletions.
44 changes: 38 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,42 @@
Width : 455
Height : 330
# Pacman Game in Java Swing

Center : w : 227.5 , h : 165
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.

x : 10 , y : 60
## Getting Started

x : 217.5 , y : 105
To run the Pacman game, make sure you have the following requirements:

tw = 445
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.

0 comments on commit 753f91e

Please sign in to comment.