TheSadRogue.Primitives 1.0.0-alpha6

.NET Core 3.1 .NET Standard 2.1
This is a prerelease version of TheSadRogue.Primitives.
There is a newer version of this package available.
See the version list below for details.
Install-Package TheSadRogue.Primitives -Version 1.0.0-alpha6
dotnet add package TheSadRogue.Primitives --version 1.0.0-alpha6
<PackageReference Include="TheSadRogue.Primitives" Version="1.0.0-alpha6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TheSadRogue.Primitives --version 1.0.0-alpha6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TheSadRogue.Primitives, 1.0.0-alpha6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TheSadRogue.Primitives as a Cake Addin
#addin nuget:?package=TheSadRogue.Primitives&version=1.0.0-alpha6&prerelease

// Install TheSadRogue.Primitives as a Cake Tool
#tool nuget:?package=TheSadRogue.Primitives&version=1.0.0-alpha6&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A collection of primitive data structures for working with a 2-dimensional grid.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on TheSadRogue.Primitives:

Package Downloads

A library that emulates old-school console and command prompt style graphics. Targets .NET Standard 2.1.


Roguelike/2D game utility library.


A graphics hosting library for SadConsole. Targets MonoGame and .NET Standard 2.1.


A collection of extension methods that allow TheSadRogue.Primitives types to easily interface with MonoGame's equivalents.


A graphics hosting library for SadConsole. Targets SFML and .NET Standard 2.1.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on TheSadRogue.Primitives:

Repository Stars
A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!
.NET Standard roguelike library in C#. Features many algorithms and data structures pertinent to roguelike/2D game developers, specifically designed to be minimally intrusive upon the developer's architecture.
Version Downloads Last updated
1.3.1 107 5/13/2022
1.3.1-debug 56 5/13/2022
1.3.0 475 2/12/2022
1.3.0-debug 49 2/12/2022
1.2.0 168 1/8/2022
1.2.0-debug 65 1/8/2022
1.1.1 1,859 9/30/2021
1.1.1-debug 98 9/30/2021
1.1.0 184 8/21/2021
1.1.0-debug 124 8/21/2021
1.0.0 3,224 3/23/2021
1.0.0-debug 176 3/23/2021
1.0.0-alpha9-debug 147 1/25/2021
1.0.0-alpha9 124 1/25/2021
1.0.0-alpha8-debug 426 12/11/2020
1.0.0-alpha8 364 12/11/2020
1.0.0-alpha7-debug 347 11/23/2020
1.0.0-alpha7 196 11/23/2020
1.0.0-alpha6-debug 205 10/25/2020
1.0.0-alpha6 297 10/25/2020
1.0.0-alpha5-debug 615 7/14/2020
1.0.0-alpha5 328 7/14/2020
1.0.0-alpha4-debug 548 6/28/2020
1.0.0-alpha4 415 6/28/2020
1.0.0-alpha3-debug 554 5/23/2020
1.0.0-alpha3 248 5/23/2020
1.0.0-alpha2-debug 433 4/18/2020
1.0.0-alpha2 230 4/18/2020
1.0.0-alpha1-debug 595 12/8/2019
1.0.0-alpha1 404 12/8/2019

Added rotation method to points.  Added functions for bisection/division to Rectangle.  Changed ANSI colors to be readonly.  Small optimizations to PolarCoordinate.  Added AggressiveInline attribute to appropriate methods.  Corrected nullability of equality operations.  Removed equality operations from mutable types, and replaced with IMatchable implementations.