Skip to content

eatskolnikov/konamicodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Konami Code JS

Listen for the following sequence:

up up down down left right left right B A

Then launches a callback

Getting started

Initialize the listener:

KonamiCodeListener.init(function(){
    console.log("The input was successful. Get 30+ lives.");
},
function ()
{
    console.log("The sequence was broken. All your lives re belong to us!");
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published