◀ VibeCruiser

pacman game

A free Pac-Man game — play it in your browser, no install. Classic Pacman Game built with JavaScript and HTML5 – Eat all the pellets while avoiding ghosts in this browser-based arcade game. Features smooth sprite-based animations, AI-controlled ghosts with pathfinding, a scoring system, multiple lives, and a start/game-over interface. Fully playable with…

by @Thinal-Fernando · Thinal-Fernando/pacman-game on GitHubLANG JavaScript★ 1HOSTED ON THINAL-FERNANDO.GITHUB.IOUPDATED 21 Oct 2025

Vote and save it — free account with email or sign in with GitHub

Made this, @Thinal-Fernando? See how many people played it → or use email

Controls: / A to move Left · / D to move Right · / W to move Up · / S to move Down

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

A classic Pacman clone built with vanilla JavaScript, HTML5 Canvas, and CSS.

This project recreates the nostalgic arcade experience, featuring AI-controlled ghosts, scoring, lives system, and collision mechanics.

Classic Gameplay – Eat all the food pellets while avoiding ghosts. Ghost AI – Ghosts use pathfinding (BFS) and random targeting for chasing Pacman. Lives System – Pacman starts with 3 lives. Scoring – Collect pellets to increase your score. Start & Game Over Screens – With blinking start text and restart prompt. Smooth Animations – Sprite-based animations for Pacman and ghosts.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More Pac-Man games →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →