Exemple #1
0
        public void Drive()
        {
            int numOfPlayers   = Input.GetNumOfPlayers();
            int buttonPosition = Input.GetButtonPosition();
            int myPosition     = Input.GetMyPosition();

            List <Tuple <string, int> > players = Input.GetPlayerNamesAndStackSizes(numOfPlayers).ToList();

            StartNewRound(numOfPlayers, myPosition, buttonPosition, players.Select(p => p.Item1).ToList(), players.Select(p => p.Item2).ToList());

            CurrentRound.Drive();
        }