{"id":28244543,"url":"https://github.com/m5lk3n/picventure","last_synced_at":"2026-03-02T07:32:10.805Z","repository":{"id":54573001,"uuid":"326248424","full_name":"m5lk3n/picventure","owner":"m5lk3n","description":"An RPG text adventure written in Go for educational purposes. It features colors (on the terminal) and game pictures (on a Sense HAT).","archived":false,"fork":false,"pushed_at":"2025-12-05T16:43:03.000Z","size":3202,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T03:48:59.857Z","etag":null,"topics":["astro-pi","go","golang","raspberry-pi","raspberrypi","rpg","rpg-game","sense-hat"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m5lk3n.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-01-02T18:42:01.000Z","updated_at":"2025-12-05T16:43:01.000Z","dependencies_parsed_at":"2024-06-21T09:56:54.693Z","dependency_job_id":"e00de4ad-2457-4577-a783-e1a3d4f79641","html_url":"https://github.com/m5lk3n/picventure","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.3421052631578947,"last_synced_commit":"ef720e54cf9e4bb4aa0edc50e75141136ab7f5a6"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/m5lk3n/picventure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5lk3n%2Fpicventure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5lk3n%2Fpicventure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5lk3n%2Fpicventure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5lk3n%2Fpicventure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m5lk3n","download_url":"https://codeload.github.com/m5lk3n/picventure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5lk3n%2Fpicventure/sbom","scorecard":{"id":608633,"data":{"date":"2025-08-11","repo":{"name":"github.com/m5lk3n/picventure","commit":"78906f25afd7a920c6571d03331eeb49c262d01c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T02:09:09.106Z","repository_id":54573001,"created_at":"2025-08-21T02:09:09.106Z","updated_at":"2025-08-21T02:09:09.106Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29995004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":["astro-pi","go","golang","raspberry-pi","raspberrypi","rpg","rpg-game","sense-hat"],"created_at":"2025-05-19T08:13:50.435Z","updated_at":"2026-03-02T07:32:10.791Z","avatar_url":"https://github.com/m5lk3n.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Picventure\n\nThe RPG text adventure project from under [raspberrypi.org](https://projects.raspberrypi.org/en/projects/rpg) implemented in Go for educational purposes. It features colors (on the terminal) and game pictures (on a Sense HAT). The latter is locally exposed as a \"web service\" (called \"picservice\") and loosely coupled to the game implementation. The idea is to also demo microservices to kids.\n\n## Design\n\n![Design](design.png)\n\n## Environments\n\nDeveloped on a [Raspberry Pi 400](https://www.raspberrypi.org/products/raspberry-pi-400/):\n\n```bash\n$ uname -a\nLinux raspi400 5.8.0-1010-raspi #13-Ubuntu SMP PREEMPT Wed Dec 9 17:14:07 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux\n$ go version\ngo version go1.14.7 linux/arm64\n```\n\nAlso tested on a Lenovo ThinkPad X250:\n\n```bash\n$ uname -a\nLinux x250 4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux\n$ go version\ngo version go1.16 linux/amd64\n```\n\n## Make\n\n```bash\n$ make\nusage: make \u003ctarget\u003e\n\n  where \u003ctarget\u003e is one of the following\n\n    all         to run all on both, picservice and rpg\n\n    help        to show this text\n```\n\n```bash\n$ make all\n# ...\n```\n\n## Play\n\n### Start picservice\n\nOpen a shell in this directory, then:\n\n```bash\n$ cd picservice \u0026\u0026 GIN_MODE=release ./picservice\nINFO[0000] picservice start...\n```\n\n### Start picventure\n\nOpen a separate shell in this directory, then:\n\n```bash\n$ cd rpg \u0026\u0026 ./picventure \nPicventure - A colorful RPG adventure (with optional pictures)\n==============================================================\n\nGet to the Garden with a key and a potion\nAvoid the monsters!\n\nCommands:\n  go \"direction\"    (where \"direction\" is one of the following: north, east, south, west)\n  get \"item\"\n  exit\n---------------------------\nYou are in the Hall\nYou see a key\nInventory:\n---------------------------\n\u003e \n```\n\n## Demo\n\n**Spoiler alert!**\n\n![Make and play](spoiler.gif)\n\nWhen you encounter an item or finish the game, the corresponding picture appears on the Sense HAT:\n\n![Sense HAT output](sense/all.gif)\n\n([from Trinket and the Raspberry Pi Foundation](https://trinket.io/sense-hat))\n\n## Sources\n\n- [Python source](https://rpf.io/rpg-code)\n- [Game map](https://projects-static.raspberrypi.org/projects/rpg/31fb9012c6d897ad16f2f245fb4791b6384cda28/en/images/rpg-final-map.png)\n\n## To do/Open\n\n- add tests\n- map (cheatsheet)\n- introduce [enums](https://www.ribice.ba/golang-enums/)\n- introduce constants\n- improve `inventory.Contains` check\n- `input = strings.TrimRight`?\n\n## Ideas\n\n- save/load game\n- 3 dimensions: up/down via stairs\n- find/get a random item (like an in-app purchase)\n- add-on: visualization of position\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm5lk3n%2Fpicventure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm5lk3n%2Fpicventure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm5lk3n%2Fpicventure/lists"}