Arrow keys to move, Spacebar to jump, and finally, Q to attack. Unless you are playing on mobile, Then you just push the buttons on the screen.
This is pretty much the most elaborate project that I have made so far. The music is from https://www.fesliyanstudios.com/royalty-free-music/downloads-c/8-bit-music/6. (UPDATE NOTICE) -Upgraded the sound engine- -Fixed a bug where in the mobile version, the attack sound would continue to play for a short time when the player moved before the attack animation was finished- -Updated animation and collisions engine-