agents[KonanePiece.BLACK.ordinal()]
= new MinimaxAgent(konaneGame, blackSearchDepth);
break;
case ALPHA_BETA :
agents[KonanePiece.BLACK.ordinal()]
= new AlphabetaAgent(konaneGame, blackSearchDepth);
break;
case RANDOM :
agents[KonanePiece.BLACK.ordinal()]
= new RandomAgent(konaneGame);
break;
}
switch(konaneGame.getWhitePlayerType())
{
case MINIMAX :
agents[KonanePiece.WHITE.ordinal()]
= new MinimaxAgent(konaneGame, whiteSearchDepth);
break;
case ALPHA_BETA :
agents[KonanePiece.WHITE.ordinal()]
= new AlphabetaAgent(konaneGame, whiteSearchDepth);
break;
case RANDOM :
agents[KonanePiece.WHITE.ordinal()]
= new RandomAgent(konaneGame);
break;