I think the player can get hit multiple times in one frame, which makes it difficult. Other than that, great attempt at a first game. Well done!
Thank you!