internal static GameState CalculateScore(GameState state, PlayerWon playerWon) { if (playerWon == PlayerWon.A) { return(state.IncreaseA()); } else { return(state.IncreaseB()); } }