Err... no.
You should work on improving your challenge first.
Your question is quite unclear, and fairly poorly formatted. By marking it as "On Hold", we signify to future users that challenges which aren't clear will be put on hold, and to further encourage the use of the Sandbox. You were suggested to use the Sandbox six minutes after the challenge was issued, and it should have been closed at that time rather than later. Please post the question in the Sandbox, get some editing assistance, then apply the sandboxed edits to the current question when the challenge is satisfactorily clear and formatted.
As for your second question, please see this question for information on when to accept and what to do when a shorter answer is submitted.
Below are my suggested edits (which may be copied by editing this question and copying the source below the separator line):
Shortest Konami Code
keyboardcode-golfparsing
The Problem
You must write a program that, when the Konami Code is typed in during runtime, prints the string "+30 lives
" and sounds a noise of your choice from the computer's speaker.
Definition
The "Konami Code" is defined as UUDDLRLRBA
followed by pressing the enter key.
The Rules
- You may choose to use the up arrow for
U
, down for D
, left for L
, and right for R
, as long as your code is consistent with either arrows or letters.
- Your input may be accepted from a controller or a keyboard, but does not need to support both.
BABA
orBA
at the end. (The question saidBABA
, but the real Konami code only hasBA
at the end). Also, the other input/output requirements were still vague. \$\endgroup\$BABA
was clear, as it was defined in the question explicitly so, but especially as all the other answers usedBABA
. I think raising the issue of what the Konami code actually is, is what created any uncertainty. I found the input/output requirements clear, but my point is, I didn't see any of the closevoters saying they found the input/output requirements unclear before. We should be helping and encouraging new members, not slamming them with two closes and 24 hours + a meta post later they get some feedback, that's all I'm trying to say. \$\endgroup\$