DEV Community

Jesse
Jesse

Posted on

TIL a bit of KONAMI

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

Top comments (6)

Collapse
 
theadnan profile image
Adnan Kičin

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

Collapse
 
jsm91 profile image
Jesse

DO ITTTT!!!!!

Collapse
 
jess profile image
Jess Lee

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

Collapse
 
jsm91 profile image
Jesse

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

Collapse
 
cassidoo profile image
Cassidy Williams

Here's a coupon if you're interested!
udemy.com/js-and-react-for-devs/?c...

Thread Thread
 
jsm91 profile image
Jesse

Woot! Thanks so much :)!!