If you use a computer, then use up and down arrow keys. If you use mobile, then click the arrows provided. The rest of the instructions are in-game. *DISCLAIMER* The NPC will sometimes break. If that happens, just press the flag to reset it.
Thanks to Atari for creating the original. Do not expect an exact recreation (please).