Classic pacman for the terminal, written in Go
- Authentic Pacman gameplay with pellets, power-ups, ghosts, and scoring
- 9 challenging levels with progressive difficulty and unique maze layouts
- Smooth continuous movement with pending direction system for responsive controls
- Intelligent ghost AI that chases and flees based on power-up state
- Terminal-optimized UI using goncurses
- Cross-platform compatibility - runs anywhere Go runs
go install github.com/ashish0kumar/pacmango@latest# Clone the repository
git clone https://github.com/ashish0kumar/pacmango.git
cd pacmango
# Build the application
go build
# Move to a directory in your PATH
sudo mv pacmango /usr/local/bin/# Start the game
pacmango
# Start from a specific level
pacmango --level 5- Arrow Keys or WASD: Move Pacman
- P: Pause/unpause the game
- Q: Quit the game
- Eat all pellets (
.) to complete the level - Power-ups (
*) make you invincible and allow you to eat ghosts - Avoid ghosts unless you're invincible
- Score points by eating pellets and ghosts
- Original Pacman by Namco
- goncurses for terminal UI capabilities
Contributions are welcome! If you have ideas for improvements or bug reports, please feel free to open an issue or submit a pull request.
© 2025-present Ashish Kumar
