thank you! Unfortunately, due to my poor time management, I didn't have enough time to implement the win condition yet... TAT
the original concept was that you need to choose the correct path to take damage and collect the enemy's attacks back. In other words, within a limited number of steps, your goal is to "heal" both the player and the enemy by reversing the animation.