Google I/O Easter Eggs explained

Google just updated their website around Google I/O and added tons of Easter Eggs to it.Screen Shot 2013-03-07 at 14.54.47

After trying out some codes, I got bored and started digged into their source code. It’s located here: https://developers.google.com/events/io/js/app.min.js

Just search for: ww.mode.register(“home”

I you deminify it, you get something more readable:

ww.mode.register("home", ww.mode.HomeMode, null);
ww.mode.register("cat", ww.mode.CatMode, 231, 8);
var isAndroid = navigator.userAgent.match(/Android/);
isAndroid || ww.mode.register("space", ww.mode.SpaceMode, 42, 8);
ww.mode.register("pong", ww.mode.PongMode, 129, 8);
ww.mode.register("bacon", ww.mode.BaconMode, 144, 8);
ww.mode.register("simone", ww.mode.SimoneMode, 211, 8);
ww.mode.register("eightbit", ww.mode.EightBitMode, 83, 8);
ww.util.getAudioContextConstructor() && (ww.mode.register("song", ww.mode.SongMode, 219, 8), ww.mode.register("synth", ww.mode.SynthMode, 136, 8));
ww.mode.register("ascii", ww.mode.AsciiMode, 127, 8);
ww.mode.register("bowling", ww.mode.BowlingMode, 117, 8);
ww.mode.register("rocket", ww.mode.RocketMode, 69, 8);
ww.mode.register("burger", ww.mode.BurgerMode, 57, 8);

The key here is the third parameter. You have to convert this to binary and then use the I and the O keys to enter the code.
I’ve converted them for you:

cat:      11100111
space:    00101010
pong:     10000001
bacon:    10010000
simone:   11010011
eightbit: 01010011
song:     11011011
synth:    10001000
ascii:    01111111
bowling:  01110101
rocket:   01000101
burger:   00111001

So, there you have it. Play “Simone says” or do some bowling. Right from your browser! Should I mention you best use Chrome for this?

Advertisements
Posted in google

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s