Recipe 01 - Rotating buffers

You want an onscreen display of the last inputs from the player. There should be a fixed amount of history displayed and new inputs scroll the history, adding new entries on the left.