Exemple #1
0
        internal static GameState CalculateScore(GameState state, PlayerWon playerWon)
        {
            if (playerWon == PlayerWon.A)
            {
                return(state.IncreaseA());
            }

            else
            {
                return(state.IncreaseB());
            }
        }