TheSadRogue.Primitives 1.0.0-alpha5-debug

This is a prerelease version of TheSadRogue.Primitives.
There is a newer version of this package available.
See the version list below for details.
dotnet add package TheSadRogue.Primitives --version 1.0.0-alpha5-debug
NuGet\Install-Package TheSadRogue.Primitives -Version 1.0.0-alpha5-debug
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TheSadRogue.Primitives" Version="1.0.0-alpha5-debug" />
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-alpha5-debug
#r "nuget: TheSadRogue.Primitives, 1.0.0-alpha5-debug"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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-alpha5-debug&prerelease

// Install TheSadRogue.Primitives as a Cake Tool
#tool nuget:?package=TheSadRogue.Primitives&version=1.0.0-alpha5-debug&prerelease

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (4)

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

Package Downloads

A library that emulates old-school console and command prompt style graphics.


Roguelike/2D game utility library.


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


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

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.6.0-rc3-debug 2,455 6/18/2023
1.6.0-rc3 8,323 6/18/2023
1.6.0-rc2-debug 2,145 5/11/2023
1.6.0-rc2 1,432 5/11/2023
1.6.0-rc1-debug 139 3/18/2023
1.6.0-rc1 1,935 3/18/2023
1.5.1 1,492 1/31/2023
1.5.1-debug 129 1/31/2023
1.5.0 1,562 1/27/2023
1.5.0-debug 120 1/27/2023
1.4.1 2,885 10/8/2022
1.4.1-debug 140 10/8/2022
1.4.0 382 10/7/2022
1.4.0-debug 124 10/7/2022
1.3.2 477 9/25/2022
1.3.2-debug 154 9/25/2022
1.3.1 524 5/13/2022
1.3.1-debug 159 5/13/2022
1.3.0 3,687 2/12/2022
1.3.0-debug 142 2/12/2022
1.2.0 1,328 1/8/2022
1.2.0-debug 158 1/8/2022
1.1.1 12,447 9/30/2021
1.1.1-debug 177 9/30/2021
1.1.0 393 8/21/2021
1.1.0-debug 202 8/21/2021
1.0.0 14,050 3/23/2021
1.0.0-debug 260 3/23/2021
1.0.0-alpha9-debug 208 1/25/2021
1.0.0-alpha9 204 1/25/2021
1.0.0-alpha8-debug 1,723 12/11/2020
1.0.0-alpha8 1,085 12/11/2020
1.0.0-alpha7-debug 1,713 11/23/2020
1.0.0-alpha7 271 11/23/2020
1.0.0-alpha6-debug 295 10/25/2020
1.0.0-alpha6 955 10/25/2020
1.0.0-alpha5-debug 2,835 7/14/2020
1.0.0-alpha5 1,011 7/14/2020
1.0.0-alpha4-debug 2,175 6/28/2020
1.0.0-alpha4 1,179 6/28/2020
1.0.0-alpha3-debug 2,162 5/23/2020
1.0.0-alpha3 335 5/23/2020
1.0.0-alpha2-debug 1,959 4/18/2020
1.0.0-alpha2 312 4/18/2020
1.0.0-alpha1-debug 2,206 12/8/2019
1.0.0-alpha1 1,146 12/8/2019

Updated to C# 8 and .NET Standard 2.1.  Multi-targeted to .NET Core 3.1.  Added missing docstrings.  Removed duplicate XEdgePositions functions, and refactored IsOnXEdge functions to match API.  Added polar coordinates.