Home › Games › Pac-Rat – Classic Maze Arcade
👻 Pac-Rat – Classic Maze ArcadeArcade
About Pac-Rat – Classic Maze Arcade
Relive the golden age of arcade gaming with Pac-Rat, a thrilling, browser-based maze chase game inspired by the timeless classic Pac-Man. Built entirely with pure HTML5 Canvas and vanilla JavaScript, this game delivers a buttery-smooth, nostalgic experience directly in your web browser—no downloads, no plugins, and no intrusive ads. Navigate a dynamically generated maze as you gobble up dots and chase high scores. But beware! Four unique ghosts (Blinky, Pinky, Inky, and Clyde) are hot on your trail, each programmed with distinct hunting behaviors. Red chases you directly, Pink tries to ambush you by targeting the space ahead of you, Cyan moves unpredictably, and Orange alternates between chasing and fleeing. The game features a dynamic difficulty system: as you clear levels and advance, the ghosts become progressively faster, demanding sharper reflexes and smarter pathfinding. Grab glowing Power Pellets in the corners of the maze to turn the tables, temporarily turning the ghosts blue and vulnerable, allowing you to eat them for massive bonus points. Designed for universal accessibility, Pac-Rat offers seamless cross-platform controls. Desktop players can use traditional keyboard inputs (Arrow keys or WASD), while mobile players benefit from highly responsive swipe gestures or a dedicated on-screen D-pad. Every action is accompanied by satisfying, retro synth sound effects generated in real-time by the Web Audio API. Your highest score is automatically saved to your browser’s local storage, giving you a compelling reason to return and beat your personal best. Lightweight, addictive, and 100% private.
How to use Pac-Rat – Classic Maze Arcade
- Click the "▶ Insert Coin" button on the main menu to start your arcade adventure.
- Desktop Controls: Use the Arrow Keys or W, A, S, D to change your character's direction.
- Mobile Controls: Swipe directly on the game board in your desired direction, or use the on-screen D-pad buttons located below the canvas.
- Guide your character through the maze, eating all the small dots (10 points each) to clear the level.
- Avoid colliding with the four colored ghosts. If they catch you, you lose a life.
- Collect the large, pulsing Power Pellets in the corners of the maze. This turns the ghosts blue and vulnerable for a few seconds, allowing you to eat them for 200 bonus points!
- Clear all dots to advance to the next level, where the ghosts will move faster.
- If you lose all 3 of your lives, the game ends. Click "🔄 Play Again" to restart and try to beat your high score.
Frequently asked questions
Is this game free and private?
Yes, Pac-Rat is 100% free to play. All game logic runs locally in your browser, meaning no data is tracked, uploaded, or stored on external servers.
How do the ghosts behave?
Each of the 4 ghosts has a unique AI: Red (Blinky) chases you directly. Pink (Pinky) targets 4 tiles ahead of you to ambush you. Cyan (Inky) moves somewhat randomly. Orange (Clyde) chases you when far away but flees to the corner when he gets too close.
Can I play this on my smartphone or tablet?
Absolutely! The game is fully optimized for mobile devices with responsive touch controls, including swipe gestures and a dedicated on-screen D-pad.
How is my high score saved?
Your "Best" score is automatically saved to your browser’s local storage. It will persist even if you close the tab, refresh the page, or restart your device.
Why are there sound effects?
The game uses the Web Audio API to generate lightweight, retro-style synth tones for chomping, power-ups, eating ghosts, and game over, enhancing the arcade feel without needing external audio files.
Does the game get harder?
Yes! Every time you clear a level by eating all the dots, the next level begins with slightly faster ghost speeds, testing your reflexes and maze knowledge.
What happens if I run into a ghost while it's blue?
If you collide with a ghost during the "frightened" (blue) state after eating a Power Pellet, the ghost is "eaten" (its eyes return to the center pocket to respawn), and you earn 200 bonus points.
Can I pause the game?
The game is designed for fast-paced, continuous arcade action. Currently, there is no pause feature, so stay focused and keep moving!