{"id":34808260,"url":"https://github.com/elgopher/pi-template","last_synced_at":"2025-12-25T12:11:10.618Z","repository":{"id":50740243,"uuid":"515456874","full_name":"elgopher/pi-template","owner":"elgopher","description":"Pi template","archived":false,"fork":false,"pushed_at":"2025-07-22T00:35:20.000Z","size":61,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T10:17:53.091Z","etag":null,"topics":["ebitengine","game-development","pi"],"latest_commit_sha":null,"homepage":"","language":"Go","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/elgopher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-07-19T06:08:52.000Z","updated_at":"2025-07-22T00:35:23.000Z","dependencies_parsed_at":"2023-01-23T08:46:06.124Z","dependency_job_id":"bf9ee62e-0b50-4318-98bb-a2150677fcdc","html_url":"https://github.com/elgopher/pi-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/elgopher/pi-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fpi-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fpi-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fpi-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fpi-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgopher","download_url":"https://codeload.github.com/elgopher/pi-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fpi-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28028982,"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-12-25T02:00:05.988Z","response_time":58,"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":["ebitengine","game-development","pi"],"created_at":"2025-12-25T12:11:09.837Z","updated_at":"2025-12-25T12:11:10.612Z","avatar_url":"https://github.com/elgopher.png","language":"Go","readme":"# Pi Game Template\n\nThis is a template for creating new games powered by [Pi](https://github.com/elgopher/pi).\n\n## What's in the box? \u003cimg src=\"sprite-sheet.png\" align=\"right\" /\u003e\n\n* A sprite sheet with a 32-color palette from [Picotron][picotron-faq].\n* The sprite sheet includes one 8×8 sprite.\n* A Go module importing all necessary dependencies.\n* A `main.go` file containing code to run the game.\n* Two variants of code: development (with dev tools) and release (without dev tools).\n\n## How to use it\n\n* [Go 1.24+](https://go.dev/dl/) is required.\n* Use any Go editor, such as [Visual Studio Code](https://code.visualstudio.com/) \n  or [GoLand](https://www.jetbrains.com/go/).\n* On Linux or macOS, install additional dependencies:\n  * [Linux instructions](https://github.com/elgopher/pi/blob/master/docs/install-linux.md)\n  * [macOS instructions](https://github.com/elgopher/pi/blob/master/docs/install-macos.md)\n* Run the game with:\n\n  go run .\n\n  \u003e Do not run `main.go` directly, because Go will not compile the other `main_*` files.\n\n## How-to guides\n\n### How to rename the module\n\n* The template module is named `github.com/elgopher/pi-template`.\n* Edit `go.mod` and replace the module name with your own, e.g. `module github.com/you/name`.\n* Update the import path in `main.go` accordingly.\n\n### How to edit PNG files\n\n* Use a pixel art editor that supports indexed color mode, such as [Aseprite][aseprite] or [LibreSprite][libresprite].\n* The palette for the game is stored inside `sprite-sheet.png`.\n\n### How to create a release build (without dev tools)\n\n```\ngo build -tags release .\n```\n\n## Attributions\n\n* The palette used in `sprite-sheet.png` is the [original Picotron palette][picotron-faq] created by Zep.\n\n[aseprite]: https://www.aseprite.org/\n[libresprite]: https://libresprite.github.io/\n[picotron-faq]: https://www.lexaloffle.com/picotron.php?page=faq\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Fpi-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgopher%2Fpi-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Fpi-template/lists"}