Package vrampal.connectfour.cmdline

Examples of vrampal.connectfour.cmdline.PlayerInterface


public class ConnectFourRobot {

  public static void main(String[] args) {
    ConsoleDiplay consoleDisplay = new ConsoleDiplay();
    PlayerInterface playerItf = new DummyBotPlayerInterface();
    GameRunner consoleGame = new GameRunner(playerItf, playerItf);
    consoleGame.addMonitor(consoleDisplay);
    consoleGame.run();
  }
View Full Code Here


  public void run() {
    if (log.isInfoEnabled()) {
      log.info("Running for " + NB_TOTAL_GAME + " games");
    }

    PlayerInterface playerItf = new DummyBotPlayerInterface();

    long beginTime = System.currentTimeMillis();
    for (int i = 0; i < NB_TOTAL_GAME; i++) {
      GameRunner gameRunner = new GameRunner(playerItf, playerItf);
      gameRunner.run();
View Full Code Here

    if (log.isInfoEnabled()) {
      log.info("Running for " + NB_TOTAL_GAME + " games");
    }

    GamesData rootData = new GamesData();
    PlayerInterface playerItf = new DummyBotPlayerInterface();

    long beginTime = System.currentTimeMillis();
    for (int i = 0; i < NB_TOTAL_GAME; i++) {
      GameRunner consoleGame = new GameRunner(playerItf, playerItf);
      GameDataFeeder dataFeed = new GameDataFeeder(rootData);
View Full Code Here

TOP

Related Classes of vrampal.connectfour.cmdline.PlayerInterface

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.