Skip to main content
14 of 24
added 266 characters in body
user avatar
user avatar

Shortest Konami Code implementation

The Problem

You must write a code then when the konami code is typed in (user hits UUDDLRLRBABA enter) displays +30 lives in any way you want. For all I care you can have little elves send me a email with "+30 lives" and plays some sort of noise FROM A SPEAKER it can be whatever kind of noise you want. Bell, chime I really don't care Even if the BA is only once on the real one. It doesn't matter. I chose BABA. The Rules

  1. Make a noise (the noise must come from the computer speaker)
  2. Take the input from the user you can use Keyboard, game controller ect.
  3. Must loop until the Konami code is entered spaces are not allowed, case-insensitive

You may use the characters UDLR you don't need to use arrow keys To Win

Traditional golf. Fewest bytes.

Please give feedback! Think contra

The winner(s)

Jelly!

The most low-key

Powershell: As I can run it with a command that is the program

user63187