11 ms·
Play PacMan at google.com Now.
- mcav 16y ago<incorrect> And here I thought that Google had implemented PacMan in HTML5 on their logo, given their presentation at Google I/O. </incorrect> EDIT: I didn't see that you had to click "Insert Coin" to start.
- ericz 16y agoThat's not what they did?
- ugh 16y agoThey don’t use canvas, just a lot of divs and javascript.
- chaosmachine 16y agoIt's implemented with javascript and html, but they're using Flash for sound.
- bd 16y agoUnfortunately Flash is currently pretty much unavoidable if you want sound effects in JS games. I experimented with <audio> tag in HTML5 game few days ago: it's fine for media player type applications (where you play longer sounds with looser coupling to user actions), but it's not there yet for games (implementation-wise, API is ok). If you need to play a lot of tiny sounds in rapid response to player actions, you are going to get random weird behaviors and cross-browser inconsistencies: noticeable lags, cracking noises, cuts and repetitions.
- phoboslab 16y agoThis seems to be heavily depended on the file types you use. I have some experiments with many different, short, sound files running with <audio> just fine - in Chrome, FF and Opera at least. Ogg Vorbis and (of course WAV) works quite nice, MP3 doesn't. For Safari, maybe AAC would be the right choice. Still, as you said, the <audio> implementation is quite buggy at times. But I have no doubt it will get better!
- bd 16y agoYes, a good point. I confirm, also in my experience problems are very dependent on particular sound files. Some work perfectly fine, some make troubles. And it's not just encoding, it seems to be dependent also on what's inside the sound file like a particular waveform or length. For me the worst were a sequences of very short sounds (fractions of second) played in a direct response to rapid successive keypresses (keydown-keydown-keydown should make pew-pew-pew). No matter what I did, there was always at least one browser with some showstopping bug.
- Femur 16y agoBoy, did that surprise the heck out of me. I never worry about keeping my speakers turned up when going to google.com
- mbrubeck 16y agoApparently this is overwhelming the Firefox support forums and chat lines: https://support.mozilla.com/en-US/forum/1/678373 https://support.mozilla.com/en-US/forum/1/678373
- grhino 16y agoCoolPreviews, an addon for Firefox, caused the PacMan music to play even when the user wasn't viewing google.com. They've released an update that fixes the issue. https://addons.mozilla.org/en-US/firefox/addon/2207/ https://addons.mozilla.org/en-US/firefox/addon/2207/
- jacquesm 16y agoBad move by google, really. Start on a button click is one thing but auto-starting something that makes a bunch of noise on a page that has always been totally silent is really dumb.
- studer 16y agoGoogle doesn't autostart anything, it's a FireFox extension (Cool Previews) that loads the page in the background that causes the trouble. I suggest reading up on the real story before you start labeling things as "bad moves" and "really dumb".
- follower 16y agoActually, the sound does autostart when you load the page. But the playing sound in the background issue is related to the extension.
- jacquesm 16y agoMy browser is 'clean', there are no extensions or plug-ins installed besides the 'closed tabs button' and greasemonkey. Welcome to HN by the way.
- marcusbooster 16y agoInsert a second coin for Ms. Pac-Man multi-player.
- yanowitz 16y agoBest. Logo. Ever.
- ashishbharthi 16y agoTime has come for interactive Google Logos. This will be so much fun.
- mike-cardwell 16y agoWonder how many global man hours are going to be wasted by people playing this game today ;)
- MikeCapone 16y agoI wonder if it'll show on the stock market...
- javanix 16y agoIt might help ... maybe happy people can make a bit of a rally.
- mbrubeck 16y agoWhat Wall Street needs is a http://linerider.com/ http://linerider.com/ style game on the graphs at http://finance.google.com/ http://finance.google.com/.
- javanix 16y agohttp://www.marketwatch.com/story/us-stocks-march-higher-bolstered-by-financials-2010-05-21 http://www.marketwatch.com/story/us-stocks-march-higher-bols... It's working!
- deleted 16y ago[deleted]
- RodgerTheGreat 16y agoHow is it ever a waste of time to read source code?
- wizard_2 16y agoI just played a level with my boss. I'm disappointed it doesn't load up on the droid.
- deleted 16y ago[deleted]
- ccc3 16y agoDoes this imply that nobody uses the "I'm feeling lucky" button?
- volida 16y agoand saves a lot of money for Google too
- kingkilr 16y agoI don't think so, didn't google publish that they "lose" 60 million USD or something beaues people click it and don't see ads :)
- zandorg 16y agoThe goodwill from that is probably worth more than $60,000,000!
- inerte 16y agoNobody uses the I'm feeling luck button. I remember Marissa Mayer saying so and here are some links http://www.google.com/search?hl=pt-BR&safe=off&client=opera&hs=NMp&rls=pt-BR&q=%22I%27m+feeling+lucky%22+marissa+mayer&aq=f&aqi=&aql=&oq=&gs_rfai= http://www.google.com/search?hl=pt-BR&safe=off&clien...
- josefresco 16y agoGoogle is replacing the need for the "I'm feeling lucky" button with their auto-complete system. It's the same effect as the button but is shown in the auto-complete field while the user is typing. This has the same side effect for Google regarding ads as does the button. Although if a user wants to be taken directly to website ABC they prob aren't a good audience for ads.
- moskie 16y agoI find it very useful to use as a search destination for the address bar. For example, in Chrome, add this as one of the Search Engines in the options dialog: http://www.google.com/search?q=%s&btnI=Im+Feeling+Lucky http://www.google.com/search?q=%s&btnI=Im+Feeling+Lucky I've associated that with the keyword "gg" Now, when I go to the address bar and type a query whose first Google result I am confident will be the destination I want, I've got a great way to get there. Example: "gg imdb Forest Gump" Will get me to IMDB's Forest Gump page. So you can pretty much imagine the power here, especially for reference sites. Type the site name and the query, and you'll end up where you want to be.
- kacy 16y agoIt works on the iPhone too. Type in the address in Safari, then click Classic mode at the bottom of the screen. ^_^
- ukdm 16y agoI found a bug... collected a pill as a previous one's time allotment was ending and it didn't register in the game.
- RodgerTheGreat 16y agoIf anybody's curious about the source, here's a reformatted version: http://pastebin.com/enyeHeKg http://pastebin.com/enyeHeKg
- xhuang 16y agothanks, just wondering what tools did you use to reformat it?
- RodgerTheGreat 16y agoNo prob. I used http://jsbeautifier.org/ http://jsbeautifier.org/ - the first google result for "Javascript Reformatter". It's a pretty spiffy little tool.
- cmelbye 16y agoOnly Google would write 3,162 lines of source code for something that would be on their site for 24 hours. EDIT: You wouldn't happen to be Rodger from the nonlogic community, would you?
- RodgerTheGreat 16y agoAw, you caught me. :) How's it shakin'?
- cmelbye 16y agoIt's going well, how about you? (my nick was canuckid by the way, which will probably bring back some bad memories?;-)
- eli 16y agoFirst 1000 lines are just the map and related data
- petercooper 16y agoAh, but in terms of play hours divided by development hours, this is bound to trump most indie games.
- rpbertp13 16y agoTry removing ghosts with Firebug and play blind pac man!
- someone_here 16y agoWell there goes my day.
- xephris 16y agoWorks on Android as well! But not BlackBerry.
- jeiting 16y agoI would like to see how many millions google makes by disabling the I'm Feeling Lucky button today.
- dunham 16y agoAside from no sound, it works on the iPad. They seem to be handling touch events (swipes) for movement.
- pclark 16y agoat least it isn't flash. how senior did the approval have to be to get this allowed, do you think?
- jacquesm 16y agoIt's partially flash.
- minalecs 16y agoI think we are all missing the point, that its <b> Pac-Man's 30th anniversary </b>. But yes the playable logo, just adds to the awesomeness
- rawat81 16y agoMay be Google will dish out there own anti spyware & antivirus for chrome next. I liked the plain old google page .. simple
- timf 16y agoWould be awesome to see a high score list.
- enterneo 16y agoI love pacman, but still the game should NOT start automatically (the sound is really irritating).
- follower 16y agoIf you want to remove the sound use this bookmarklet which deletes the iframe used to load the Flash file: javascript:(function(){var rancidbacon={};try{rancidbacon.com=document.getElementsByName("pm-sound")[0];rancidbacon.com.parentElement.removeChild(rancidbacon.com);}catch(_){}})() More details here: http://stuff.rancidbacon.com/google-pacman/ http://stuff.rancidbacon.com/google-pacman/
- neovive 16y agoNoScript blocked the googleusercontent.com by default, so I didn't even realize there was sound until reading this discussion.
- jacquesm 16y agoI agree with that. By accident the volume on this machine was still way up from watching a movie, and it must have woken up the whole damn building.
- Mark_B 16y agoAnybody know how to save the page off for posterity? A simple "Save Page As" didn't seem to work.
- snprbob86 16y agoIt will probably show up in the archive at: http://www.google.com/logos/index.html http://www.google.com/logos/index.html
- soundlab 16y agoThis is great, except for that some element of Google (address bar search?) is running in the background of my firefox browser and the siren audio is on a continuous loop even after leaving Google. No add-on or plug-in I remove helps.
- pilif 16y agoThis even works on the abomination that is IE6. That's what they get from not using Canvas or any other technology newer than 10 years old. The game is built of 8x8 pixel DIVs.
- neovive 16y agoMaybe it was originally written for the 20th anniversary.
- harry 16y agoI hope I'm not the only one offended that the ghosts don't act like their pacman counterparts. Red is such a puss in google land!
- WillyF 16y agoI'd love to see the analytics on their home page for today.
- sjs382 16y agoAverage time on site: 3 hours. (no, not really)
- deleted 16y ago[deleted]
- scorpion032 16y ago9030. My score.
- jazzychad 16y agoI wonder how much of the code was inspired by Neven Mrgan's PieGuy iphone webapp game, also written in html/js. http://mrgan.tumblr.com/post/257187093/pie-guy http://mrgan.tumblr.com/post/257187093/pie-guy http://mrgan.com/pieguy/ http://mrgan.com/pieguy/ <-- go here on your iphone
- castis 16y agoI dont know why, but I'm really happy this exists.
- l4u 16y agoit lowers my productivity :( but it's fun
- neovive 16y agoSomeone needs to publish a revised PacMan strategy guide for getting around all those extra obstacles. Should you get pellot inside the G at the start or end?
- dryicerx 16y agoJust imagine the productivity drop around the world...
- naqeeb 16y agoToo bad they didn't modify Pacman so that the ghosts have an apple logo and the pellets are Android phones.
- mawhidby 16y agoOn an unrelated note, as of 3:33PM EST, this story has 262 points over 4 hours, and is ranked lower than "Facebook caught sharing secret data with advertisers", which has 210 points over 16 hours (this story ranked 27, the facebook story 23). Is there a reason for this? Shouldn't this be near the top of HN?
- deleted 16y ago[deleted]
- lhorie 16y agoFWIW, I had posted this earlier http://news.ycombinator.com/item?id=1367899 http://news.ycombinator.com/item?id=1367899 Edit: actually it seems this post one is older. Hadn't seen it :(
- indrax 16y agoThis is going to spike their time-on-front-page statistics.
- dayjah 16y agolove this!
- heresy 16y agoI woke up to my girlfriend playing this. Awesome :)
- oilfieldtrash 16y agoWhat's the matter with you guys? THe PacMan thing was great. What a fun surprise. I've been to Google now 10 times in the past two days-- and I usually only use their serach engine once or twice a day. Stopped me from going to dogpile......
- operandx 16y agoI've uploaded a copy of the Google PAC-MAN Doodle here: http://operandx.com/GooglePacman/Play.html http://operandx.com/GooglePacman/Play.html Enjoy!