{"id":13771030,"url":"https://github.com/LinusCDE/retris","last_synced_at":"2025-05-11T03:32:59.767Z","repository":{"id":96746252,"uuid":"287577865","full_name":"LinusCDE/retris","owner":"LinusCDE","description":"Implementation of rust tetris_core on the reMarkable using libremarkable","archived":false,"fork":false,"pushed_at":"2022-01-25T12:07:40.000Z","size":1072,"stargazers_count":32,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T06:40:31.767Z","etag":null,"topics":["game","remarkable-tablet","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/LinusCDE.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}},"created_at":"2020-08-14T16:31:30.000Z","updated_at":"2024-11-04T12:30:42.000Z","dependencies_parsed_at":"2023-06-28T21:09:31.994Z","dependency_job_id":null,"html_url":"https://github.com/LinusCDE/retris","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2Fretris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2Fretris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2Fretris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusCDE%2Fretris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinusCDE","download_url":"https://codeload.github.com/LinusCDE/retris/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514352,"owners_count":21920327,"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":["game","remarkable-tablet","rust"],"created_at":"2024-08-03T17:00:46.689Z","updated_at":"2025-05-11T03:32:59.404Z","avatar_url":"https://github.com/LinusCDE.png","language":"Rust","funding_links":[],"categories":["Applications"],"sub_categories":["Games"],"readme":"# retris\n\n[![rm1](https://img.shields.io/badge/rM1-supported-green)](https://remarkable.com/store/remarkable)\n[![rm2](https://img.shields.io/badge/rM2-supported-green)](https://remarkable.com/store/remarkable-2)\n[![opkg](https://img.shields.io/badge/OPKG-retris-blue)](https://github.com/toltec-dev/toltec)\n[![launchers](https://img.shields.io/badge/Launchers-supported-green)](https://github.com/reHackable/awesome-reMarkable#launchers)\n[![Mentioned in Awesome reMarkable](https://awesome.re/mentioned-badge.svg)](https://github.com/reHackable/awesome-reMarkable)\n\n\u003cimg src=\"icon.png\" width=\"25%\"\u003e\n\nImplementation of rust tetris_core on the reMarkable using libremarkable\n\n\u003cimg width=\"50%\" src=\"https://transfer.cosmos-ink.net/AQWDL/192.168.2.93.jpg\"\u003e\n\nThe patterns are some totally random functions. If someone wants to do something better (not just functions) or just loves math, [go ahead](https://github.com/LinusCDE/retris/blob/929a597acbb9215dcb53663a4a9a415fb7bbc175/src/scene/game_scene.rs#L50).\n\n## Controlling\n\n- Move Left and Right: Hardware and Software buttons or swipe left and right\n- Move down: Swipe down\n- Rotate: Middle hardware button or tap anywhere\n\n## Installation\n\n### Prebuilt binary/program\n\n- Go the the [releases page](https://github.com/LinusCDE/retris/releases)\n- Get the newest released \"retris\" file and copy it onto your remarkable, using e.g. FileZilla, WinSCP or scp.\n- SSH into your remarkable and mark the file as executable with `chmod +x retris`\n- Stop xochitl (the interface) with `systemctl stop xochitl`\n- Start the game with `./retris`\n- After you're done, restart xochitl with `systemctl start xochitl`\n\n### Compiling\n\n- Make sure to have rustup and a current toolchain (nightly might be needed)\n- Install the [oecore toolchain](https://remarkable.engineering/).\n  - If you're not using linux, you might want to adjust the path in `.cargo/config`\n- Compile it with `cargo build --release`. It should automatically cross-compile.\n\n## reMarkable 2 support\n\nThis app cant actually drive the rM 2 framebuffer. It needs [rm2fb](https://github.com/ddvk/remarkable2-framebuffer/) for that.\n\nIf you execute retris from ssh, be sure to have followed rm2fb steps to enable the support. When launching through a launcher (from toltec) it should just work but have more ghosting on the rM2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLinusCDE%2Fretris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLinusCDE%2Fretris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLinusCDE%2Fretris/lists"}