Cloned Games

Google Pacman

SporadicPlayableWeb

Based on Pac-Man

Google Pacman screenshot

About

Pac-Man is a 1980 arcade game by Namco Bandai Games; this project recreates Google's 2010 homepage doodle celebrating the game's 30th anniversary, rather than the original arcade game itself. This is a readability-formatted recreation of Google's playable homepage doodle from May 2010 celebrating Pac-Man's 30th anniversary, built as a single-page browser game with no framework, using DOM/CSS-sprite rendering and a setInterval-based game loop. The original Flash-based audio system has been replaced with a Web Audio API synthesizer that recreates the sound of the original Namco WSG sound chip without any external audio files.

How it differs from the original

The main change from the original 2010 doodle is the audio: the original loaded a Flash SWF file for sound, which no longer works in modern browsers, while this version synthesizes all 17 original sound effects and ambient tracks in pure JavaScript using the Web Audio API, modeled on the original Namco WSG chip's waveforms and the Z80 sound driver's frequency tables.

Getting started

Open the game's HTML entry point in any modern browser; no build step or server is needed. Click or tap the page to insert a coin and start playing; clicking again during play activates two-player mode, adding a WASD-controlled Ms. Pac-Man.

Share:

We’d like to use analytics cookies to understand how visitors use this site. See our Privacy Policy for details. Nothing else is tracked, and the site works the same either way.