Left right up and down arrow keys to move. Z to push the fight button. When you die don't worry about it, the project will save your progress in the battle, and after you win it will reset.
Undertale by TobyFox, terraria by Re_logic