Skip to content

BodhiProtocol/pac-man

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👻 Pac-Man

License: MIT Release Play Now

Classic Pac-Man — maze, dots, power pellets, four named ghosts with scatter/chase AI. Kid and Adult modes. Playable instantly in any browser.


🎮 Play Now

https://bodhiprotocol.github.io/pac-man/


✨ Features

Feature Details
Four ghosts Blinky, Pinky, Inky, and Clyde — each with their own release timing
Scatter/chase AI Ghosts alternate between patrolling and hunting
Power pellets Turn the tables and eat scared ghosts for points
Kid mode 5 lives, ghosts leave the house later
Adult mode 3 lives, ghosts release and hunt faster
Touch-friendly On-screen directional controls
PWA Installable, works offline
Zero dependencies Pure HTML + CSS + JS

🚀 Getting Started

Play Online

https://bodhiprotocol.github.io/pac-man/

Play Offline

git clone https://github.com/BodhiProtocol/pac-man.git
# Open index.html in any browser

How to Play

  1. Choose 🧒 Kids or ⚡ Adult mode
  2. Arrow keys (or touch buttons) to navigate the maze
  3. Eat every dot to clear the level
  4. Grab a power pellet to turn ghosts scared and eat them for bonus points
  5. Avoid non-scared ghosts — losing all lives ends the game

🛠️ Technical Specifications

Aspect Details
Architecture Single HTML file (SPA)
Technology Vanilla JS + Canvas
Dependencies Zero
Browser support Chrome 60+, Firefox 55+, Safari 11+, Edge 79+

📄 License

MIT — free for personal, educational, and commercial use.


Created by BodhiProtocol · Built with Claude AI

Play Now · Report Issue

Releases

No releases published

Packages

 
 
 

Contributors