{"id":24302788,"url":"https://github.com/taigrr/pokemon-tinygo","last_synced_at":"2026-04-20T15:03:56.710Z","repository":{"id":259576629,"uuid":"878234337","full_name":"taigrr/pokemon-tinygo","owner":"taigrr","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-25T03:43:34.000Z","size":14379,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T00:19:41.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taigrr.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}},"created_at":"2024-10-25T02:26:51.000Z","updated_at":"2024-10-25T03:43:37.000Z","dependencies_parsed_at":"2024-10-26T17:16:03.513Z","dependency_job_id":"d2e7e30b-da45-4a25-9d34-9d50c4145904","html_url":"https://github.com/taigrr/pokemon-tinygo","commit_stats":null,"previous_names":["taigrr/pokemon-tinygo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fpokemon-tinygo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fpokemon-tinygo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fpokemon-tinygo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fpokemon-tinygo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taigrr","download_url":"https://codeload.github.com/taigrr/pokemon-tinygo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242225831,"owners_count":20092662,"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","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":"2025-01-17T00:19:22.975Z","updated_at":"2026-04-20T15:03:56.705Z","avatar_url":"https://github.com/taigrr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pokemon-tinygo\n\nA Pokemon-style game for the [Badger 2040 W](https://shop.pimoroni.com/products/badger-2040-w) e-ink badge, built with [TinyGo](https://tinygo.org/).\n\nChoose from three Pokemon and battle a random opponent on the e-ink display, with optional Bluetooth advertising.\n\n## Building\n\nRequires [TinyGo](https://tinygo.org/getting-started/install/) and a Badger 2040 W.\n\n```bash\nmake build\n```\n\n## Flashing\n\nConnect the Badger 2040 W via USB, hold `BOOTSEL` + `reset` for 5 seconds, release `reset` first:\n\n```bash\nmake flash\n```\n\n## Image Converter\n\nThe `cmd/gopherbadgeimg` tool converts images to the bitmap format used by the e-ink display. See its [README](cmd/gopherbadgeimg/README.md) for details.\n\n## Controls\n\n| Button | Action |\n|--------|--------|\n| A | Select Pokemon 1 (Char Lizard) |\n| B | Select Pokemon 2 (Water Turtle) |\n| C | Select Pokemon 3 (Lightning Rat) |\n| UP | Confirm selection and battle |\n| DOWN | Toggle Bluetooth advertising |\n\n## Troubleshooting\n\nIf you see `unable to locate any volume: [RPI-RP2]`, the device needs a reset. Hold `BOOTSEL` on the back of the badge while connecting USB, then mount the volume:\n\n```bash\nmkdir -p /media/RPI-RP2\nmount /dev/sdb1 /media/RPI-RP2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Fpokemon-tinygo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaigrr%2Fpokemon-tinygo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Fpokemon-tinygo/lists"}