mirror of
https://github.com/TwoFX/Morris.git
synced 2025-12-13 08:22:51 +00:00
Minor changes
This commit is contained in:
@@ -91,7 +91,7 @@ namespace Morris
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 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
|
||||
/// </summary>
|
||||
/// <param name="remove">Welcher gegnerische Stein entfernt werden soll</param>
|
||||
/// <returns>Einen neuen Spielzug</returns>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
<Compile Include="GameResult.cs" />
|
||||
<Compile Include="GameState.cs" />
|
||||
<Compile Include="RandomBot.cs" />
|
||||
<None Include="LICENSE" />
|
||||
<Compile Include="IGameStateObserver.cs" />
|
||||
<Compile Include="IMoveProvider.cs" />
|
||||
<Compile Include="GameMove.cs" />
|
||||
|
||||
Reference in New Issue
Block a user