A secret text adventure game has been discovered in the source code of Google Chrome.

A Redditor found the easter egg by typing "text adventure" into google.com and opening Chrome's javascript console. Beneath a warning reminding users never to manually copy and paste anything nefarious into the code, the console asks: "Would you like to play a game? (yes/no)".

While not exactly complex, the story - which is a mission to locate the missing letters of the Google logo by way of simple text directions - requires you to navigate by way of a series of directional instructions, plus the actions "grab", "inventory", and "use". You can also ask "why", and bring up all commands available to you via "help".

Screen_Shot_2018_09_30_at_12.38.10
The secret game is reportedly only unlockable on the .com domain

Right now it's not clear how long the game's been available for, but it would appear u/attempt_number_1 is the first person to report the finding, and according to u/jeremyhoffman, the locations depicted in the game seem to correspond to "Google Mountain View buildings 45/47 on Charleston Road", giving rise to the theory that the programmer works from the Charleston campus.

To play yourself, open Google Chrome, and search for the term "text adventure". On the front landing page, type Ctrl+Shift+I - or CMD+option+I if you're using a Mac - and you'll find the game in the console. Just make sure you're using google.com; right now, it doesn't seem to be available on any of Google's local pages like co.uk.

Sometimes we include links to online retail stores. If you click on one and make a purchase we may receive a small commission. For more information, go here.

Jump to comments (13)

About the author

Vikki Blake

Vikki Blake

Contributor

When​ ​her friends​ ​were falling in love with soap stars, Vikki was falling in love with​ ​video games. She's a survival horror survivalist​ ​with a penchant for​ ​Yorkshire Tea, men dressed up as doctors and sweary words. She struggles to juggle a fair-to-middling Destiny/Halo addiction​ ​and her kill/death ratio is terrible.

More articles by Vikki Blake

Comments (13)

Hide low-scoring comments
Order
Threading

Related