Skip to content

blackflame007/pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman Go Clone

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.

How to Play

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.

How to Use

To run the game, you will need to have Go installed on your computer. Once you have Go installed, follow these steps:

  1. Clone the repository: git clone https://github.com/blackflame007/pacman.git
  2. Navigate to the project directory: cd pacman
  3. Run the game: go run main.go

How to Contribute

Contributions are welcome! If you would like to contribute to the project, please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b my-new-feature
  3. Make your changes and commit them: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Please make sure your code adheres to the Go coding standards and includes unit tests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages