Package pdp.scrabble.game.impl

Examples of pdp.scrabble.game.impl.GameEnvImpl


     * @param args
     */
    public static void main(String[] args) {
 
  //preparing environment
  GameEnvironment env = new GameEnvImpl(null, 2, "Francais");
  env.bag().fill();
  b = env.board();
  ia = new DecoAI(env, "trololol", 0, null);
  DecoAI ia2 = new DecoAI(env, "loiloiloi", 1, null);
  ia2.getRack().fill();
  ia.getRack().fill();
  env.addPlayer(ia);
  env.addPlayer(ia2);
  algo = new SimpleSimulator(
    new DawgMoveGen(env, ia,(DAWGItf) env.getDictionary(),
      new BestMoves(new EvaluatorImpl(env, null), 5))
    , env, ia);
  //preparing GUI
  JButton bouton = new JButton("Continuer");
  pan = new BoardPanel(b);
View Full Code Here


    // Initialize environement
    SearchPlacementImpl.initAnagrams();
    this.panels = new TreeMap<String, JPanel>();
    //this.game = FACTORY.createGame(this.lang, this);
    this.gameEnv = new GameEnvImpl(null, 0, lang);

    // Create menu bar
    this.menuBar = new MenuBar(this);
    this.menuBar.create();
View Full Code Here

TOP

Related Classes of pdp.scrabble.game.impl.GameEnvImpl

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.