Click attack during the attack for player, use z to attack arrow keys to avoid enemy attacks. When your health hits 0, you lose.
this took longer than expected you have to learn the wicked tricks of the wisp