loading...

TIL a bit of KONAMI

jsm91 profile image Jesse ・2 min read

What I Learned

Today I learned that there is a term called 'konami' and what it means in terms of web development. In simplistic terms, remember when you use to type a secret code on your gaming console or keypad (up, down, up, down, left, right, left)? Well, picture the same concept, except while on a webpage! Simplistically, that's kind of what konami is! However, in our case, it's us that get to decide what these little easter eggs can do.

Want to know a popular website that has a konami code implemented in its source code? Take a guess ..... BUZZFEED! Don't believe me, well give it a try.

  1. Go to Buzzfeed
  2. Let the page load and then type the following code on your keyboard: up, up, down, down, left, right, left, right, b, a, enter
  3. Be amazed!

Since first learning the concept, Buzzfeed’s konami has changed. At one point, their konami would run a function that replaced all words on the page with "Wilkie!" (no clue as to who Wilkie is or why Wilkie was given the honor), but today a sparkle/confetti effect was looped in the background.

Anyways, that's what I learned today and I'm interested to hear what effects you guys can find and/or what functions your konami codes produce. Let me know what you think or if you find some that you would like to share :).

And why exactly is this interesting?

  1. It's something I would not have guessed developers would still implement.
  2. It's clever and playful, which is always nice.
  3. The code was a little bit more challenging than you'd initially think.

My Example

Discussion

markdown guide
 

Gee, guess who's gonna implement Ryu firing a Hadouken on his website 🦄

 
 

How fun!
I just learned about Knoami from @cassidoo 's react course :)

 

I want to move on to react soooo bad! I'm definitely going to check out their course now though :P