The game is accessed by doing a Google search for ‘text adventure’ and then hitting Cmd+Option+J on Mac or Control+Shift+J on PC.
Google developers have crafted a number of search Easter eggs over the past 20 years. You probably know the greatest hits, from tilt to do a barrel roll, but it turns out that an entire text adventure game has been hidden in the source code of Google.com all along.
Spotted by Reddit user attempt_number_1, and first reported by RockPaperShotgun, the game is accessed by doing a Google search for “text adventure” and then hitting Cmd+Option+J (for Mac users) or Control+Shift+J (for PC users) to bring up the console window with the following prompt: “Would you like to play a game? (yes/no)”.
Replying with Yes begins the game, which has you play as a “big blue G” looking for the other letters of the word “Google.”
You can unlock this Easter egg through the Google Chrome browser. It also works via Microsoft Edge, but does not appear to place nice in Firefox or Safari.
For those who haven’t played text adventures before, it’s the internet equivalent of a choose-your-own-adventure tale. Typing “north,” “south,” “east,” or “west” moves you through the world; prompts will occasionally appear to tell you about objects with which you can interact.
Typing “map” will also bring up a navigational grid that helps you move around the area without running into walls or unsolved puzzles.