示例#1
0
    public void PlayerPlay(int action)
    {
        RBYAction iaAction = ia.Play();

        if (ia.GetUtility(iaAction, (RBYAction)action) == 1)
        {
            scoreIA++;
        }
        else if (ia.GetUtility(iaAction, (RBYAction)action) == -1)
        {
            scorePlayer++;
        }
        ia.TellOponentActionUCB1((RBYAction)action);
    }