just use the arrow keys to move the player around. its very simple, and i couldn't be bothered to make it into a full blown platformer. its just a demo of the "code" i made.