{"id":16276535,"url":"https://github.com/virgesmith/pico-conway","last_synced_at":"2026-02-11T13:32:06.666Z","repository":{"id":47427601,"uuid":"482283617","full_name":"virgesmith/pico-conway","owner":"virgesmith","description":"Conway's game of life on a pico","archived":false,"fork":false,"pushed_at":"2024-09-14T11:06:01.000Z","size":531,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T17:53:59.093Z","etag":null,"topics":["raspberry-pi-pico"],"latest_commit_sha":null,"homepage":"","language":"C++","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/virgesmith.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":"2022-04-16T15:00:37.000Z","updated_at":"2024-09-14T11:06:04.000Z","dependencies_parsed_at":"2024-09-15T02:46:25.680Z","dependency_job_id":null,"html_url":"https://github.com/virgesmith/pico-conway","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/virgesmith/pico-conway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-conway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-conway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-conway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-conway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virgesmith","download_url":"https://codeload.github.com/virgesmith/pico-conway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-conway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"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":["raspberry-pi-pico"],"created_at":"2024-10-10T18:48:45.855Z","updated_at":"2026-02-11T13:32:06.650Z","avatar_url":"https://github.com/virgesmith.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pico-conway\n\nCellular automata on a pico...\n\n![./pico-conway.png](./pico-conway.png)\n\nCells are colour-coded according to their age. Button A resets, B clears the screen, X adds a randomly-placed glider (this happens randomly without pressing anything). Y toggles screen brightness.\n\nPico2 allows for a 160x120 cell domain, memory restrictions mean the original Pico can only support 106x80.\n\n## build\n\n### hardware\n\nUses the Rasbperry Pi [Pico](https://www.raspberrypi.com/products/raspberry-pi-pico/) or [Pico2](https://www.raspberrypi.com/products/raspberry-pi-pico-2/) with the [Pimoroni pico-display-2](https://shop.pimoroni.com/products/pico-display-pack-2-0?variant=39374122582099)\n\n### software\n\nRequires pico-sdk and the pimoroni-pico](https://github.com/pimoroni/pimoroni-pico) libraries.\n\n1. fork or clone this repo.\n\n1. download and extract a release of the [pico C/C++ SDK](https://github.com/raspberrypi/pico-sdk)\n\n1. download and extract a release of [pimoroni-pico](https://github.com/pimoroni/pimoroni-pico). This is needed for the graphics library and display driver.\n\n1. download a cross-compiler e.g. g++-arm-none-eabi if necessary. Prebuilt riscv toolchains is available [here](https://github.com/raspberrypi/pico-sdk-tools/releases/tag/v2.0.0-1)\n\n1. edit CMakeLists.txt so that PICO_SDK_PATH and PIMORONI_PATH point to the correct locations\n\n1. build the image for the intended platform, optionally supplying the toolchain path (if not in `$PATH`), e.g.\n\n    ```sh\n    mkdir -p build\n    cd build\n    cmake -DPICO_PLATFORM=rp2350-riscv -DPICO_TOOLCHAIN_PATH=/opt/riscv-gcc-14 ..\n    make -j\n    ```\n\n    Valid values for `PICO_PLATORM` are:\n    - `rp2040` (Cortex M0+)\n    - `rp2350` or `rp2350-arm-s` (Cortex M33+)\n    - `rp2350-riscv` (Hazard 3)\n\n1. copy image to device (connected with `BOOTSEL` pressed), e.g.\n\n    ```sh\n    cp pico-conway.uf2 /media/\u003cusername\u003e/RPI-RP2\n    ```\n\n## test\n\nThe algorithm itself can be tested/debugged on the host machine using the test harness, e.g.:\n\n```sh\ng++ -g -O0 -Wall -Werror --std=c++20 src/test_conway.cpp src/conway.cpp -o test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Fpico-conway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirgesmith%2Fpico-conway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Fpico-conway/lists"}