namespace Koogle.Application.Games.FoxHunt
{
///
/// Game model for Fuchsjagd-Spiel (Fox Hunt) game type.
/// One Player starts as fox, and all others try to hunt him.
///
public record FoxHuntGameModel
{
///
/// ID of the winner (first player to reach 0 points).
///
public Guid? WinnerId { get; set; }
public bool IsGameOver { get; set; }
//public int LeadingThrows { get; set; }
//public int FoxLeadingThrowCount { get; set; }
public Dictionary PlayerStates { get; set; }
public Guid[] PlayerOrder { get; set; }
public int LeadingThrows { get; set; } // copy from setup model
//public int CurrentPlayerIndex { get; set; }
//public int CurrentFoxIndex { get; set; }
public int FoxIndex { get; set; } // aktueller Fuchs (Index in PlayerOrder)
public int NonFoxIndex { get; set; } // Index für Nicht-Fuchs-Spieler
public int FoxTurnsRemaining { get; set; } // verbleibende Fuchs-Züge
public bool FoxTurn { get; set; } // true = Fuchs dran im Wechsel
}
public record FoxHuntPlayerState
{
public int PinCountFox { get; set; }
public int PinCountHunters { get; set; }
}
}