예제 #1
0
        public bool add(String playerName)
        {
            players.Add(playerName);
            places[howManyPlayers()]       = 0;
            purses[howManyPlayers()]       = 0;
            inPenaltyBox[howManyPlayers()] = false;

            _outputter.GenerateOutput(playerName + " was added");
            _outputter.GenerateOutput("They are player number " + players.Count);
            return(true);
        }