Past Games

We all know how controller works, right?
A 2d Sidescroller that remembers your last inputs. Random events happen (e.g. a piano falling on the player) and the last 3 inputs of the player are saved to that event.
In sighted, you play as a blind beggar who needs to break into the palace of the sultan. An Efrit approaches and grants him a wish in trade for a future favor of any kind.