Пример #1
0
    public int EvaluateAllLegalMoves(Make4Engine engine, Make4Engine.Piece turn, int deep = 0, int maxDeep = 2)
    {
        if (deep >= maxDeep)
        {
            return(0);
        }


        List <int> moves = engine.GenerateLegalMoves();

        return(0);
    }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     engine = FindObjectOfType <Make4Engine>();
     arrow  = FindObjectOfType <Arrow>();
     NewGame();
 }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     engine = new Make4Engine();
 }