private static List <Player> GetNewPlayers(int numberOfPlayers, Random rnd) { List <Player> leaguePlayers = new List <Player>(); for (int i = 0; i < numberOfPlayers; i++) { leaguePlayers.Add( new Player( AiType.Create <NewMutableAI>(NewMutableParameters.RandomGens(rnd)))); } return(leaguePlayers); }
private static Player GetMutantet(String[] args, Random rnd) { return(new Player( AiType.Create <NewMutableAI>(NewMutableParameters.Mutate(args, rnd)))); }