public void HumanTeamDraft(LeaugeTeam a_player)
        {
            bool validInput = false;

            do
            {
                Console.Write("Enter players name:");
                string input  = Console.ReadLine();
                string value1 = Array.Find(PlayerName,
                                           element => element.StartsWith(input, StringComparison.Ordinal));
                int pID = Array.FindIndex(PlayerName, item => item == value1);
                try
                {
                    if (pID == -1)
                    {
                        throw new Exception();
                    }
                    try
                    {
                        if (CheckIfPlayerTaken(pID) == true)
                        {
                            throw new ArgumentException();
                        }
                        try
                        {
                            if (a_player.CanDraftPosition(PlayerPos, pID) == false)
                            {
                                throw new Exception();
                            }
                            else
                            {
                                PlayerName[pID] = input;
                                AddTakenPlayer(pID);
                                a_player.AddingPlayer(pID);
                                validInput = true;
                            }
                        }
                        catch
                        {
                            Console.WriteLine("Too many players of the same position on the team");
                        }
                    }
                    catch
                    {
                        Console.WriteLine("That Player has already been drafted");
                    }
                }
                catch
                {
                    Console.WriteLine("Invalid Player entry");
                }
            } while (validInput == false);
        }
        public void Trade(LeaugeTeam a_player, LeaugeTeam a_CPU)
        {
            int  playerPlayer;
            int  cpuPlayer;
            bool tradeApprove;

            a_player.ShowTeam(PlayerName);
            a_CPU.ShowTeam(PlayerName);
            Console.WriteLine("Who would you like to offer?");
            string input = Console.ReadLine();

            playerPlayer = Int32.Parse(input);
            Console.WriteLine("Who would you like to get?");
            input     = Console.ReadLine();
            cpuPlayer = Int32.Parse(input);
            if (a_player.CanDraftPosition(PlayerPos, a_CPU.team[cpuPlayer]) == true && a_CPU.CanDraftPosition(PlayerPos, a_player.team[playerPlayer]) == true)
            {
                tradeApprove = true;
            }
            else if (PlayerPos[a_player.team[playerPlayer]] == "C" && PlayerPos[a_CPU.team[cpuPlayer]] == "C")
            {
                tradeApprove = true;
            }
            else if (PlayerPos[a_player.team[playerPlayer]].Substring(1, 1) == "G" && PlayerPos[a_CPU.team[cpuPlayer]].Substring(1, 1) == "G")
            {
                tradeApprove = true;
            }
            else if (PlayerPos[a_player.team[playerPlayer]].Substring(1, 1) == "F" && PlayerPos[a_CPU.team[cpuPlayer]].Substring(1, 1) == "F")
            {
                tradeApprove = true;
            }
            else
            {
                tradeApprove = false;
            }
            if (tradeApprove == true && a_CPU.AssessTrade(a_player.team[playerPlayer], a_CPU.team[cpuPlayer], PlayerPoints, PlayerOffensReb, PlayerDefenceReb, PlayerAssist, PlayerBlock, PlayerSteal, PlayerTurnover) == true)
            {
                Console.WriteLine("{0} for {1}", PlayerName[a_player.team[playerPlayer]], PlayerName[a_CPU.team[cpuPlayer]]);
                a_player.AddingPlayer(a_CPU.team[cpuPlayer]);
                a_CPU.AddingPlayer(a_player.team[playerPlayer]);
                a_player.DroppingPlayer(playerPlayer);
                a_CPU.DroppingPlayer(cpuPlayer);
            }
        }
        public void AddDrop(LeaugeTeam a_player)
        {
            int    playerAdding;
            int    playerDropping;
            string input;

            do
            {
                Console.WriteLine("Who would you like to add?");
                input        = Console.ReadLine();
                playerAdding = Int32.Parse(input);
                a_player.ShowTeam(PlayerName);
                Console.WriteLine("Who would you like to drop?");
                input          = Console.ReadLine();
                playerDropping = Int32.Parse(input);
            } while (PlayerPos[TopTenFree[playerAdding]] != PlayerPos[TopTenFree[playerDropping]] && a_player.CanDraftPosition(PlayerPos, TopTenFree[playerAdding]) == false);
            Console.WriteLine("{0} for {1}", PlayerName[TopTenFree[playerAdding]], PlayerName[a_player.team[playerDropping]]);
            a_player.AddingPlayer(TopTenFree[playerAdding]);
            AddTakenPlayer(TopTenFree[playerAdding]);
            drafted.RemoveAt(drafted.IndexOf(a_player.team[playerDropping]));
            a_player.DroppingPlayer(playerDropping);
        }
        public void ComputerTeamDraft(LeaugeTeam a_team, String a_name)
        {
            int BestPick   = 0;
            int MostPoints = 0;
            int index      = 0;
            int totalPoints;

            foreach (string player in PlayerPoints.Skip(1))
            {
                index++;
                totalPoints = Int32.Parse(player);
                if (totalPoints > MostPoints && CheckIfPlayerTaken(index) == false && a_team.CanDraftPosition(PlayerPos, index) == true)
                {
                    MostPoints = totalPoints;
                    BestPick   = index;
                }
            }
            String[] aPick = PlayerName[BestPick].Split('\\');
            PlayerName[BestPick] = aPick[0];
            Console.WriteLine("{0} Drafted: {1}", a_name, PlayerName[BestPick]);
            if (PlayerPos[BestPick].Contains('G'))
            {
                a_team.AddGuard();
            }
            else if (PlayerPos[BestPick].Contains('F'))
            {
                a_team.AddForward();
            }
            else if (PlayerPos[BestPick].Contains('C'))
            {
                a_team.AddCenters();
            }
            AddTakenPlayer(BestPick);
            a_team.AddingPlayer(BestPick);
        }