{"id":23310562,"url":"https://github.com/code-theft-auto/console-game-engine","last_synced_at":"2026-02-12T01:17:07.884Z","repository":{"id":130406782,"uuid":"485248312","full_name":"Code-Theft-Auto/Console-Game-Engine","owner":"Code-Theft-Auto","description":".NET Console Graphics Engine","archived":false,"fork":false,"pushed_at":"2022-04-30T10:22:24.000Z","size":248,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T05:32:02.288Z","etag":null,"topics":["console","dotnet","engine","game-engine","graphics"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Code-Theft-Auto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-25T06:26:36.000Z","updated_at":"2024-02-04T17:22:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"87659fba-86e1-4813-b6e3-62fe3e5d671b","html_url":"https://github.com/Code-Theft-Auto/Console-Game-Engine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Code-Theft-Auto/Console-Game-Engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Theft-Auto%2FConsole-Game-Engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Theft-Auto%2FConsole-Game-Engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Theft-Auto%2FConsole-Game-Engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Theft-Auto%2FConsole-Game-Engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Theft-Auto","download_url":"https://codeload.github.com/Code-Theft-Auto/Console-Game-Engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Theft-Auto%2FConsole-Game-Engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29352467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"ssl_error","status_checked_at":"2026-02-12T01:00:51.346Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["console","dotnet","engine","game-engine","graphics"],"created_at":"2024-12-20T13:18:46.140Z","updated_at":"2026-02-12T01:17:07.846Z","avatar_url":"https://github.com/Code-Theft-Auto.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConsoleGameEngine\n### C# Graphics Library for drawing graphics in Windows Command Prompt\n\n![downloads](https://img.shields.io/github/downloads/BananaBoii600/Console-Game-Engine/v1.0.0)\n![release](https://img.shields.io/github/release/BananaBoii600/Console-Game-Engine)\n![licence](https://img.shields.io/github/license/BananaBoii600/Console-Game-Engine)\n![issues](https://img.shields.io/github/issues-raw/BananaBoii600/Console-Game-Engine)\n\n---\n**ConsoleGameEngine** is a C# library that wraps around the `System.Console` class, adding enhanced \nfunctionality for displaying graphics. Implements a new ConsoleGame abstract, a custom buffer, custom \ncolor palette, fullscreen capabilites, input handling and more.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/BananaBoii600/Console-Game-Engine/blob/master/Media/monkeyspin.gif\" /\u003e\n\u003c/p\u003e\n\n## Installation / Getting Started\n- [Download Latest Build](https://github.com/BananaBoii600/Console-Game-Engine/releases/)\n- Clone git repo and build yourself\n\u003e git clone https://github.com/BananaBoii600/Console-Game-Engine.git\n\n\u003cbr /\u003e\n\nAfter installing you'll have to:\n1. Import `ConsoleGameEngine.dll` to project.\n2. Reference the namespace `using ConsoleGameEngine;`\n\n---\n\n## Uses\n- retro-terminal-styled games and applications\n- easy-to-use graphics library for basic and advanced graphics in games and applications\n- ~~Creating heavy 3D graphics running in 4K~~\n\nDoes the last apply to you? Then sorry, *this is not the library you are looking for.*\n\n## Usage / Features\nLibrary contains two main classes, `ConsoleEngine` and `ConsoleGame`\n\n- Custom character screen buffer, allows clearing and blitting to console window\n- Console colors with full rgb capabilities\n- Custom \u0026 premade Palettes, used for changing console window palette\n- Accessing and setting pixels individually\n- Functions to draw basic shapes and primitives (Triangles, Rectangles, Lines etc.)\n- Writing characters to screen using plain-text and FIGlet fonts\n- Multiple game loops, including fixed framerate and deltatime settings\n- Point and Vector class, for int and float positions\n- Setting console window settings, changing window size and running console borderless\n- Input handling\n\n#### ConsoleEngine\nIs used to draw to the screen, replacement for the `System.Console` class *(kind of)*\n\n```c#\nusing ConsoleGameEngine;\n...\nEngine = new ConsoleEngine(windowWidth, windowHeight, fontWidth, fontHeight);\n\nEngine.SetPixel(new Point(8, 8), ConsoleCharacter.Full, 15);\n\n```\n\n#### ConsoleGame\nKeeps an instance of the `ConsoleEngine` and implements game loops.\n\n**Note** *Not neccessary, you could use the ConsoleEngine as is*\n\n```c#\nusing ConsoleGameEngine;\n...\n\nnew AppName.Construct(windowWidth, windowHeight, fontWidth, fontHeight, FramerateMode.Unlimited);\nclass AppName : ConsoleGame {\n  public override void Create() {\n  }\n  \n  public override void Update() {\n  }\n  \n  public override void Render() {\n  }\n}\n```\n\n## Notes\n- Color palette limited to 16 colors in a single session *(this is an internal limitation, see [MDSN](https://docs.microsoft.com/en-us/windows/console/console-screen-buffer-infoex))*\n- Only **ONE** reference to a `ConsoleEngine` is allowed per session\n- Press *Delete Key* to close application if running in borderless\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/BananaBoii600/Console-Game-Engine/blob/master/Media/cave.gif\" width = 512 heigth = 384 /\u003e\n\u003c/p\u003e\n\n## Credits\n\nThis project was heavily inspired by the github user logan dahl\n\n## Licensing\n\nThis project, and all code it contains, is licensed under *The Unlicense* and can be read [here](UNLICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-theft-auto%2Fconsole-game-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-theft-auto%2Fconsole-game-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-theft-auto%2Fconsole-game-engine/lists"}