case 0 :
agents[BLACK] = new MinimaxAgent(konaneGame,2);
agents[WHITE] = new MinimaxAgent(konaneGame, 2);
break;
case 1 :
agents[BLACK] = new RandomAgent(konaneGame);
agents[WHITE] = new RandomAgent(konaneGame);
break;
case 2 :
agents[WHITE] = new AlphabetaAgent(konaneGame, 4);
agents[BLACK] = new AlphabetaAgent(konaneGame, 4);
break;
case 3 :
agents[WHITE] = new AlphabetaAgent(konaneGame, 4);
agents[BLACK] = new MinimaxAgent(konaneGame, 4);
break;
case 4 :
agents[BLACK] = new MinimaxAgent(konaneGame, 2);
agents[WHITE] = new AlphabetaAgent(konaneGame, 6);
break;
case 5 :
agents[BLACK] = new AlphabetaAgent(konaneGame, 6);
agents[WHITE] = new MinimaxAgent(konaneGame, 2);
break;
case 6 :
agents[BLACK] = new RandomAgent(konaneGame);
agents[WHITE] = new AlphabetaAgent(konaneGame, 6);
break;
}
this.play(agents, numGames, writer);
}