void OnGUI() { if (GUILayout.Button("Test")) { AlphaBetaProgram a = new AlphaBetaProgram(); Context context = new Context(); Simulate result = a.Think(0, -30000, 30000, context); Debug.Log(result.mEvaluate); Debug.Log((string)result.mMove); } }
public GameLogic() { ai = new AlphaBetaProgram(); ai.DEPTH = 1; }