HelloWorld.StudioV 1.2.0

Studio V client libraries for connecting and using the Studio V host visualizer.

There is a newer version of this package available.
See the version list below for details.
Install-Package HelloWorld.StudioV -Version 1.2.0
dotnet add package HelloWorld.StudioV --version 1.2.0
<PackageReference Include="HelloWorld.StudioV" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HelloWorld.StudioV --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

For connecting to the Studio V Spel host.

This package can be used on Studio V Spel v0.2.2

Example usage:

using StudioV.Sorting;

static class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("How many columns?:");
        int columns = int.Parse(Console.ReadLine());

        Sorting.Reset(columns);

        int upper = Sorting.Count;
        bool swapped = true;
        while (swapped)
        {
            swapped = false;

            for (int i = 0; i < upper - 1; i++)
            {
                if (Sorting.Compare(i, i + 1) > 0)
                {
                    Sorting.Swap(i, i + 1);
                    Console.WriteLine("Swapping {0} with {1}", i, i + 1);
                    swapped = true;
                }
            }

            upper--;
        }

        Console.WriteLine("DONE");

        Console.WriteLine("Press ENTER to exit.");
        Console.ReadLine();
    }
}

For connecting to the Studio V Spel host.

This package can be used on Studio V Spel v0.2.2

Example usage:

using StudioV.Sorting;

static class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("How many columns?:");
        int columns = int.Parse(Console.ReadLine());

        Sorting.Reset(columns);

        int upper = Sorting.Count;
        bool swapped = true;
        while (swapped)
        {
            swapped = false;

            for (int i = 0; i < upper - 1; i++)
            {
                if (Sorting.Compare(i, i + 1) > 0)
                {
                    Sorting.Swap(i, i + 1);
                    Console.WriteLine("Swapping {0} with {1}", i, i + 1);
                    swapped = true;
                }
            }

            upper--;
        }

        Console.WriteLine("DONE");

        Console.WriteLine("Press ENTER to exit.");
        Console.ReadLine();
    }
}

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.0 61 7/12/2019
1.2.0 74 6/29/2019