stateDiagram-v2
  [*] --> Init
  Init --> PlayerTurn
  PlayerTurn --> Resolve
  Resolve --> EnemyTurn
  EnemyTurn --> Resolve
  Resolve --> CheckEnd
  CheckEnd --> PlayerTurn: 未结束
  CheckEnd --> Escape: 逃跑成功
  CheckEnd --> Win: 敌人死亡
  CheckEnd --> Lose: 玩家死亡/崩溃
  Escape --> [*]
  Win --> [*]
  Lose --> [*]
