Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A quick and silly script for adding the konami code easter egg to your site. Works with gestures on iPhone as well. Examples can be find at the Google Code site.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 konami.pack.js
README.md

Konami-JS

Every site should have an implementation of the Konami Code. It makes things more fun. If you're unfamiliar with it, the Konami Code is a "cheat code" that appeared in many of Konami's video games going all the way back to 1986. It was typically entered on a Nintendo controller. Recently, ESPN received attention for the funny, flashy things that would happen when the code was entered on their website. Those shenanigans were the inspiration for whipping up this script.

iOS & Android Gesture Support

As of version 1.1, Konami-JS includes support for gestures on iOS and Android. Technically the code for these is now "up, up, down, down, left, right, left, right, tap, tap, tap," on these devices but that's close enough!

Support for touch gestures is automatically loaded when you call konami.load(). See the examples page for details on how to deliver touch-specific easter eggs.

Ender.js Support

Using Ender.js to manage your JavaScript packages? Thanks to https://github.com/coolaj86 you include Konami-JS. Nifty.

As Seen On...

Something went wrong with that request. Please try again.