{"id":20943779,"url":"https://github.com/turtureanu/pico-dino","last_synced_at":"2026-05-19T07:30:58.007Z","repository":{"id":159147857,"uuid":"588231846","full_name":"turtureanu/pico-dino","owner":"turtureanu","description":" A minimalistic clone of the Chrome Dino game on a Hitachi HD44780 display using a Raspberry Pi Pico and the BOOTSEL button as input.","archived":false,"fork":false,"pushed_at":"2023-04-03T18:52:07.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T23:42:33.713Z","etag":null,"topics":["c","raspberry-pi","raspberrypipico"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/turtureanu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-12T16:31:14.000Z","updated_at":"2023-01-29T18:39:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5392fbc-f65d-4f18-952d-7ce37020b6da","html_url":"https://github.com/turtureanu/pico-dino","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/turtureanu/pico-dino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtureanu%2Fpico-dino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtureanu%2Fpico-dino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtureanu%2Fpico-dino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtureanu%2Fpico-dino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turtureanu","download_url":"https://codeload.github.com/turtureanu/pico-dino/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtureanu%2Fpico-dino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33206269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:16:55.748Z","status":"ssl_error","status_checked_at":"2026-05-19T07:16:54.366Z","response_time":58,"last_error":"SSL_read: 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":["c","raspberry-pi","raspberrypipico"],"created_at":"2024-11-18T23:37:42.988Z","updated_at":"2026-05-19T07:30:57.978Z","avatar_url":"https://github.com/turtureanu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dino game on a Raspberry Pi Pico\nMy attempt at making a minimalistic clone of the Chrome Dino game on a\nHitachi HD44780 display using a Raspberry Pi Pico.\n\n## Where's the input?\n\nThe game requires only one input: a click/tap.\n\nWe could use a normal button and wire it on the breadboard, but in this case, I chose to use the **BOOTSEL button** on the picoboard (using code copied from the [pico-examples repository](https://github.com/raspberrypi/pico-examples/tree/master/picoboard/button)).\n\n## Wiring\nThe wiring corresponds to the variable `LCDpins`, which takes the GPIO pin numbers as array values.\n\n```c\n// D0, D1, D2, D3, D4, D5, D6, D7, E, RS, RW, LCD columns, LCD rows\nint LCDpins[14] = {12, 11, 10, 9, 8, 7, 6, 5, 13, 15, 14, 16, 2};\n```\n\n![Wiring diagram on a breadboard](dino-wiring.svg)\n\n## Flowchart\n[![](https://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QZ6FTSGtKjdEa1UmvA3U69RNZ_kLTXr56W4jBfy3gnSa_Av-1h76c0wsgeqJAU0iV8YU6eCQRLFlwSzGbGW5klbNSoo9MlZWj571ORbyRucWeqMpM-tOUfBeLM1pK_YOIfWeqxhXxQfwW8WgWDcbj23E4DkfjYTic9sRexP1gMh0Ew0kUzm5ns2gynR574q0WGA2CaBROoiAIOCwKg8nxD61oT9E)\n\n## Building\nI make use of the newer pico_rand API from the Pico SDK, which has been merged (#1111) into and is, as of now (2023/28/1), only available on the development branch of the Pico SDK repository.\n\n```sh\nmkdir pico # directory with the SDK and this project\ncd pico\n\n# clone the SDK which is on the 'develop' branch\ngit clone https://github.com/raspberrypi/pico-sdk.git -b develop\n\n# clone this repo\ngit clone https://github.com/turtureanu/pico-dino.git\n\nexport PICO_SDK_PATH=$(realpath pico-sdk) # export the SDK, so we can use it when building\ncd pico-dino\nmkdir build\ncd build\ncmake ../\nmake\n```\n\nFor generating the Doxygen documentation (to include the `pico_rand` API) see Appendix E of [the Pico SDK documentation](https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-c-sdk.pdf).\n\n## Licensing\nThis project is licensed under the [BSD 3-Clause \"New\" or \"Revised\" License](/LICENSE).\n\nThis project makes use of code from the [Raspberry Pi Pico SDK Examples GitHub repository](https://github.com/raspberrypi/pico-examples).\n\nThis project uses the [picoLCD library](https://github.com/zadi15/picoLCD).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturtureanu%2Fpico-dino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturtureanu%2Fpico-dino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturtureanu%2Fpico-dino/lists"}