Welcome to the Pacman Game!
This is a text-based implementation of the classic Pacman game where you control Pacman and try to collect all the dots while avoiding the ghosts.
The goal of the game is to collect all the dots while avoiding the ghosts.
Move Pacman using the W, A, S, and D keys to navigate through the maze.
Collect dots (.) to increase your score. Power pellets (O) give Pacman the ability to eat the ghosts and earn extra points. Avoid the ghosts (G).
If you collide with a ghost, you lose a life. You start the game with 3 lives. If you lose all your lives, the game is over.
The game ends when you collect all the dots or lose all your lives.
To run the game, you will need to have Go installed on your computer. Once you have Go installed, follow these steps:
- Clone the repository:
git clone https://github.com/blackflame007/pacman.git
- Navigate to the project directory:
cd pacman
- Run the game:
go run main.go
Contributions are welcome! If you would like to contribute to the project, please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b my-new-feature
- Make your changes and commit them:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Please make sure your code adheres to the Go coding standards and includes unit tests.