PacMan on Google homepage, how is it implemented?

I was wondering, how was the PacMan game on implemented?



JavaScript with HTML for the graphics (no canvas, but sprite divs etc). There is also a bit of flash for the music.

Here is the master sprite:

I had a quick look at the Google homepage HTML, and found a link to this JavaScript script:


So I'd say yes, it's implemented in JavaScript.

Here is the complete javascript code. You might want to run it through a Javascript Beautifier. It's too long to post here.

Yes, Javascript and Html. A rewritten version can be found on GitHub.

Need Your Help

How to remove dots present at the right bottom-corner of the textarea ? HTML

html css textarea

I'm trying to remove dots in a textarea which are present at the bottom-right corner.

Hows does one prevent passwords and other sensitive information from appearing in an ASP.NET dump? security iis-7.5 crash-dumps

How does one prevent passwords and other sensitive data submitted to and received from ASP.NET web pages in IIS/ASP.NET dump files?