Exemplo n.º 1
0
        private void PlayRound()
        {
            var round       = new SimRound(this.firstPlayer, this.secondPlayer, this.gameRules, this.firstToPlay);
            var roundResult = round.Play(this.FirstPlayerTotalPoints, this.SecondPlayerTotalPoints);

            this.UpdatePoints(roundResult);

            this.logger.LogLine($"{roundResult.FirstPlayer.RoundPoints} - {roundResult.SecondPlayer.RoundPoints}");
        }
Exemplo n.º 2
0
        private void PlayRound()
        {
            var round = new SimRound(this.firstPlayer, this.secondPlayer, this.gameRules, this.firstToPlay);
            var roundResult = round.Play(this.FirstPlayerTotalPoints, this.SecondPlayerTotalPoints);
            this.UpdatePoints(roundResult);

            this.logger.LogLine($"{roundResult.FirstPlayer.RoundPoints} - {roundResult.SecondPlayer.RoundPoints}");
        }