Package aima.core.environment.tictactoe

Examples of aima.core.environment.tictactoe.TicTacToe.minValue()


    t.makeMove(1, 2); // x
    t.makeMove(1, 1); // o

    t.makeMove(2, 1); // x

    int minValue = t.minValue(t.getState(), new AlphaBeta(
        Integer.MIN_VALUE, Integer.MAX_VALUE));
    Assert.assertEquals(0, minValue);
  }

  //
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.