Example #1
0
    private void AITurn()
    {
        Position figure      = new Position();
        Position newPosition = new Position();

        do
        {
            ai.MakeMove(board, ref figure, ref newPosition);
        }while (!board.Move(figure, newPosition));
        interfaceBoard.Move(figure, newPosition);

        changeCourse();
    }