Usability
Easy to remember
Why it is up up down down.
Asked about the sequence Hashimoto said: "Because I was the one who was going to be using it, I made sure it was easy to remember." That is a usability decision. The code comes in pairs. Up up. Down down. Left right left right. Then the two buttons in the order they sit on the pad: B then A.
Joel Spolsky put the rule simply in User Interface Design for Programmers (2001): "A user interface is well designed when the program behaves exactly how the user thought it would." He called it the cardinal axiom. Every other rule follows from it.
Here: the code works the same on a keyboard, a mouse, a finger or a gamepad. You learn it once.
This page is part of a game. Play it to find the rest.
Find the rest