TerminalEngine 1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TerminalEngine --version 1.0.1
NuGet\Install-Package TerminalEngine -Version 1.0.1
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="TerminalEngine" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TerminalEngine --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TerminalEngine, 1.0.1"
#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 TerminalEngine as a Cake Addin #addin nuget:?package=TerminalEngine&version=1.0.1 // Install TerminalEngine as a Cake Tool #tool nuget:?package=TerminalEngine&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Terminal Engine
This is a simple tool kit package for C#
that makes it really easy to use a console window as a Canvas for pixels.
Include this in your project by cloning this repository, or using this command
dotnet add package TerminalEngine
This package is easy to use and follows the simple Start
and Update
routine.
Here is some sample code so you can see how the loop works.
using Main;
public class Program
{
public static void Main()
{
// Initialize canvas and begin routine loop
Canvas.Initialize(
width: 60,
height: 20
);
Routine.BeginRoutine(Start, Update);
}
public static void Start()
{
// called before the update loop...
// create a drawable object
Rect shape = new(left: 5, top: 5, width: 10, height: 10, color: ConsoleColor.Green);
// modify a pixel
Canvas.GetCenterPixel().Fill();
}
public static void Update()
{
// called every frame...
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.