Fixed Bug, KI could not detect its own victory or defeat