I really liked the idea of connecting your health to your attack, I think it was a fun and interesting mechanic! I would have found it easier if you could control using WASD instead of the arrow keys. This is a really good for you first game, I had fun playing it!
Also if you want to check out my game: