for (int i = 0; i < 2; i++) {
SearchLevel lvl = (SearchLevel) priorities[i].getSelectedItem();
SearchStrategy strategy = SearchStrategy.AUTOMATIC;
SearchPriority priority = SearchPriority.HIGHER_SCORE;
AIConfig cfg = new AIConfigImpl(lvl, strategy, priority);
StringBuilder name = new StringBuilder("AI ");
name = name.append(i).append(" (").append(lvl).append(")");
Player player = FACTORY.createPlayer(
this.game, name.toString(), i, true, cfg);