Beispiel #1
0
        public void PlayerTurn()
        {
            if (_playerTurnIndex == Players.Length)
            {
                _playerTurnIndex = 0;
            }
            var dice = Random.Next(1, 6);

            GameView.AnnounceTurn(Players, _playerTurnIndex, dice);
            var player = Players[_playerTurnIndex];

            player.MovePlayer(dice);
            _playerTurnIndex++;
        }