A and D are to move side to side, and the sword will point towards your mouse pointer. You win or lose when you or the enemy turn to a skull.
I made this in about an hour or so, just as a quick little game.