{"id":22141375,"url":"https://github.com/jbrosdevelopment/terminalengine","last_synced_at":"2025-08-29T21:32:52.773Z","repository":{"id":251063729,"uuid":"836353404","full_name":"JBrosDevelopment/TerminalEngine","owner":"JBrosDevelopment","description":"C# Package that makes it easy to use the console as a canvas to display pixels","archived":false,"fork":false,"pushed_at":"2024-07-31T19:04:42.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T00:57:02.153Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JBrosDevelopment.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-07-31T17:04:09.000Z","updated_at":"2024-07-31T19:04:45.000Z","dependencies_parsed_at":"2024-07-31T18:02:38.171Z","dependency_job_id":"c160d741-8fdf-4af2-a502-1d1621e6e579","html_url":"https://github.com/JBrosDevelopment/TerminalEngine","commit_stats":null,"previous_names":["jbrosdevelopment/terminalengine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JBrosDevelopment/TerminalEngine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FTerminalEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FTerminalEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FTerminalEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FTerminalEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBrosDevelopment","download_url":"https://codeload.github.com/JBrosDevelopment/TerminalEngine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FTerminalEngine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272766548,"owners_count":24989404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-01T21:12:49.757Z","updated_at":"2025-08-29T21:32:52.754Z","avatar_url":"https://github.com/JBrosDevelopment.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terminal Engine\n\nThis is a simple tool kit package for `C#` that makes it really easy to use a console window as a Canvas for pixels. \n\nInclude this in your project by cloning this repository, or using this command\n```\ndotnet add package TerminalEngine\n```\n\nThis package is easy to use and follows the simple `Start` and `Update` routine. \n\nHere is some sample code so you can see how the loop works.\n\n```cs\nusing TerminalEngine;\n\npublic class Program\n{\n    public static void Main()\n    {\n        // Initialize canvas and begin routine loop\n        Canvas.Initialize(\n            width: 60, \n            height: 20\n            );\n        Routine.BeginRoutine(Start, Update);\n    }\n    public static void Start()\n    {\n        // called before the update loop...\n\n        // create a drawable object\n        Rect shape = new(left: 5, top: 5, width: 10, height: 10, color: ConsoleColor.Green);\n\n        // modify a pixel\n        Canvas.GetCenterPixel().Fill();\n    }\n    public static void Update()\n    {\n        // called every frame...\n    }\n}\n```\n\nIt surprisingly really works, it's just slow at some points, but it is smooth. It uses the cursor in the console to display the character `\\u2588` at column, row. With this method, anything that isn't being drawn every frame, won't flicker.\n\nLook at the [pong example](https://github.com/JBrosDevelopment/TerminalEngine/tree/master/Examples/Pong) to see how it works.\n\n![Pong](https://raw.githubusercontent.com/JBrosDevelopment/TerminalEngine/master/Examples/Pong/playing.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbrosdevelopment%2Fterminalengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbrosdevelopment%2Fterminalengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbrosdevelopment%2Fterminalengine/lists"}