Google has released today probably the coolest doodad you can make for a logo. It’s a JavaScript version of Pacman, along with the original sounds, although these use Flash.
I’ve managed to save a local copy of the game for the sake of keeping such a cool piece of JavaScript code. I hope Google or Namco don’t mind. In any cases, it doesn’t run directly on my server, for reasons I still ignore (I have to go through minified JavaScript from Google and it’s a real puzzle), but this copy should manage to run from your hard drive.
I’ll probably be releasing the JavaScript code in human-readable form soon so that we can all learn from this cool piece of JavaScript. Additionally, with the <audio> element, HTML now has a sound API (kinda), so I believe it would be possible to implement this game without having to use Flash at all. Google didn’t do this, but it’s understandable as the game works as well on IE. A pure HTML5 solution probably wouldn’t be so cross-browser for now. With the launch of WebM however, I have a vested interest in exploring the possibilities.
