Definitely worth a play! Well done buddy!
Few suggestions (or bugs) I found:
1. The time interval between enemy attacks might be little bit short, making it hard to dodge.
2. The hitbox seems to only be present at the sword part. If you are almost in the same position as the enemy, there is no hitbox.
3. When you fall out of the map, there is no barrier and you need to refresh the browser to restart the game.
4. You can get damaged twice from a single attack (by standing in the middle position of the attack range and continuing to move towards the enemy while being hit).
Nice work! The game shows great potential.