Package pdp.scrabble.game

Examples of pdp.scrabble.game.AIConfig


      SearchStrategy strategy = SearchStrategy.valueOf(
          ((String) strategies.get(i).getSelectedItem()).toUpperCase());

      SearchPriority priority = SearchPriority.HIGHER_SCORE;

      AIConfig config = new AIConfigImpl(level, strategy, priority);

      Player player = FACTORY.createPlayer(
          this.game, names.get(i).getText(), i,
          AIs.get(i).isSelected(), config);
View Full Code Here


    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);
View Full Code Here

        SearchStrategy strategy = SearchStrategy.valueOf(
            value.toUpperCase());

        SearchPriority priority = SearchPriority.HIGHER_SCORE;

        AIConfig config = new AIConfigImpl(level, strategy, priority);

        List<Letter> required = this.getLetterList(
            "Enter the list of letter to use:");

        List<Letter> excluded = this.getLetterList(
View Full Code Here

TOP

Related Classes of pdp.scrabble.game.AIConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.