namespace Hammurabi { /// /// Stores the final game result. /// public record GameResult { /// /// Gets the player's performance rating. /// public PerformanceRating Rating { get; init; } /// /// Gets the number of acres in the city per person. /// public int AcresPerPerson { get; init; } /// /// Gets the number of people who starved the final year in office. /// public int FinalStarvation { get; init; } /// /// Gets the total number of people who starved. /// public int TotalStarvation { get; init; } /// /// Gets the average starvation rate per year (as a percentage /// of population). /// public int AverageStarvationRate { get; init; } /// /// Gets the number of people who want to assassinate the player. /// public int Assassins { get; init; } /// /// Gets a flag indicating whether the player was impeached for /// starving too many people. /// public bool WasPlayerImpeached { get; init; } } }