Skip to main content
11 of 24
added 9 characters in body
user avatar
user avatar

Shortest Konami code inplementation

The Problem

You must write a code then when the konami code is typed in (user hits UUDDLRLRBABA enter) displays +30 lives and plays some sort of noise 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

user63187