diff --git a/Morris/GameMove.cs b/Morris/GameMove.cs index 6b2e3c5..ffae968 100644 --- a/Morris/GameMove.cs +++ b/Morris/GameMove.cs @@ -91,7 +91,7 @@ namespace Morris } /// - /// Erstellt eine Kopie des GameMove mit Zusatzinformation zur Entfernung eines gegnerischen Steins zurück + /// Gibt eine Kopie des GameMove mit Zusatzinformation zur Entfernung eines gegnerischen Steins zurück /// /// Welcher gegnerische Stein entfernt werden soll /// Einen neuen Spielzug diff --git a/Morris/GameState.cs b/Morris/GameState.cs index cf2ca97..f6a0fca 100644 --- a/Morris/GameState.cs +++ b/Morris/GameState.cs @@ -322,6 +322,7 @@ namespace Morris if (move.Remove.HasValue) { Board[move.Remove.Value] = Occupation.Free; + // Hier darf kein short-circuiting verwendet werden if (playerPhase[NextToMove.Opponent()] == Phase.Moving & --currentStones[NextToMove.Opponent()] == FLYING_MAX) playerPhase[NextToMove.Opponent()] = Phase.Flying; } diff --git a/Morris/Morris.csproj b/Morris/Morris.csproj index a5a8f20..dfac97d 100644 --- a/Morris/Morris.csproj +++ b/Morris/Morris.csproj @@ -50,7 +50,6 @@ -