{"id":32162605,"url":"https://github.com/opyapeus/piyo","last_synced_at":"2026-02-21T18:01:07.591Z","repository":{"id":56874910,"uuid":"143825118","full_name":"opyapeus/piyo","owner":"opyapeus","description":"[ABANDONED] Haskell game engine like fantasy console.","archived":false,"fork":false,"pushed_at":"2018-08-08T12:04:30.000Z","size":1720,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-15T04:24:24.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/opyapeus.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-07T05:41:47.000Z","updated_at":"2022-05-01T01:35:12.000Z","dependencies_parsed_at":"2022-08-20T10:11:14.940Z","dependency_job_id":null,"html_url":"https://github.com/opyapeus/piyo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/opyapeus/piyo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opyapeus%2Fpiyo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opyapeus%2Fpiyo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opyapeus%2Fpiyo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opyapeus%2Fpiyo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opyapeus","download_url":"https://codeload.github.com/opyapeus/piyo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opyapeus%2Fpiyo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29689644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-10-21T14:01:21.561Z","updated_at":"2026-02-21T18:01:07.583Z","avatar_url":"https://github.com/opyapeus.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Piyo🐤\n\nHaskell game engine like fantasy console.\nInspired by PICO-8.\n\n![](pictures/piyo.png)\n\nNOTE: UNDER DEVELOPMENT\n\n## Feature\n\n- minimum but simple api\n- pure update funciton\n- japanease bitmap font support\n\nIt supports PICO-8 like drawing api.\n\n## Assuming Specification\n\nFor now below.\n\n- display: 192x192\n- sprite size: 12x12\n- map size: 16x16\n\n## Requirements\n\nSDL2 needed.\n\n### For OS X\n\nInstall middle wares with homebrew.\n```\nbrew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_ttf\n```\n\n### For others\n\nIt may work ..!\n\n## Minimal code\n\n```haskell\nimport Piyo\n\ninstance Game () where\n    draw _ =\n        [ cls Yellow\n        , txt Black \"Hello, World！\" 48 48\n        ]\n\nmain :: IO ()\nmain = piyo () Nothing\n```\n\n![](pictures/demo.png)\n\n## Data Flow Schematic\n\nFunctions are called in order update, draw, sound every frame.\n\n![](pictures/flow.svg)\n\n## Indexing\n\nIndex number starts with 0. Not 1.\n\n## Examples\n\nSample working code at [Examples](examples)\n\n## Development in the future\n\n- Redesign assets format\n- Enrich sound api\n- Add useful state update functions\n- FPS management\n- Support ore key action\n- Sprite and map editor\n- Export function for distribution\n- etc...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopyapeus%2Fpiyo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopyapeus%2Fpiyo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopyapeus%2Fpiyo/lists"}