Example #1
0
    void AICanPlay()
    {
        int action;

        action = alphabetaSearch.makeDecision(CurrentState);

        GameObject.Find(action.ToString()).GetComponentInChildren <Text>().text = "O";

        StateTTT updateState = game.getResult(CurrentState, action);

        CurrentState = updateState;

        CheckisTerminal();
    }