Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Google's pac man image


Gwen
 Share

Recommended Posts

So google's image for today is pac man. it's pac man's 30th birthday.

But the really cool thing is if you keep your mouse on the image for a little bit, you can play pac man on a google board!!!

I thought it was neat!
Link to comment
Share on other sites

@Marsh:

> That is pretty damn awesome, its not flash either I wonder how they did it.

Who cares how they did it?! Let's just enjoy it, it'll be gone tomorrow. Or you can save the webpage and play it later ;)
Link to comment
Share on other sites

this appears to be its code?….

google.pml=function(){function d(a){if(!google.pml_installed){google.pml_installed=true;if(!a){document.getElementById("logo").style.background="black";window.setTimeout(function(){var b=document.getElementById("logo-l");if(b)b.style.display="block"},400)}a=document.createElement("script");a.type="text/javascript";a.src="logos/js/pacman10-hp.2.js";google.dom.append(a)}}function e(){if(document.f&&document.f.btnI)document.f.btnI.onclick=function(){typeof google.pacman!="undefined"?google.pacman.insertCoin():d(false);return false}}if(!google.pml_loaded){google.pml_loaded=true;window.setTimeout(function(){document.f&&document.f.q&&document.f.q.value==""&&d(true)},1E4);e();google.rein&&google.rein.push(e);google.dstr&&google.dstr.push(function(){google.pacman&&google.pacman.destroy();if(google.pml_installed){for(var a=(document.getElementById("xjsc")||document.body).getElementsByTagName("script"),b=0,c;c=a[b++];)c.src.indexOf("/logos/js")!=-1&&google.dom.remove©;google.pml_installed=false}});google.pacManQuery=function(){google.nav(document.getElementById("dlink").href)}}};

You can also click your mouse on the board to make him move.
Link to comment
Share on other sites

@Gohan:

> @Marsh:
>
> > That is pretty damn awesome, its not flash either I wonder how they did it.
>
> Who cares how they did it?! Let's just enjoy it, it'll be gone tomorrow. Or you can save the webpage and play it later ;)

You cannot just save the website and play it offline. They encrypted it with javascript. Unless you're playing it from Google.com it won't load. Now, you could modify the code. Have fun with that.

Javascripts for Google PacMan
–---------------------------------
http://www.google.com/logos/js/pacman10-hp.js
http://www.google.com/logos/js/pacman10-hp.2.js
http://www.google.com/logos/js/pacman10-hp.3.js
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...