{"id":19236546,"url":"https://github.com/xddcore/tinylander-linux-fb","last_synced_at":"2025-07-30T08:04:46.229Z","repository":{"id":185872368,"uuid":"674221142","full_name":"xddcore/TinyLander-Linux-fb","owner":"xddcore","description":"Tiny Lander like Lunar Lander for linux frame buffer","archived":false,"fork":false,"pushed_at":"2023-08-18T18:09:30.000Z","size":169,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T04:41:20.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xddcore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","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-08-03T12:18:59.000Z","updated_at":"2023-08-03T13:35:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3948831-bfa4-45ff-aeaf-7b849de8db37","html_url":"https://github.com/xddcore/TinyLander-Linux-fb","commit_stats":null,"previous_names":["xddcore/tinylander-linux-fb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xddcore/TinyLander-Linux-fb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xddcore%2FTinyLander-Linux-fb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xddcore%2FTinyLander-Linux-fb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xddcore%2FTinyLander-Linux-fb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xddcore%2FTinyLander-Linux-fb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xddcore","download_url":"https://codeload.github.com/xddcore/TinyLander-Linux-fb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xddcore%2FTinyLander-Linux-fb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267834751,"owners_count":24151637,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2024-11-09T16:21:21.987Z","updated_at":"2025-07-30T08:04:46.153Z","avatar_url":"https://github.com/xddcore.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n * @Author: Chengsen Dong 1034029664@qq.com\n * @Date: 2023-08-03 13:23:03\n * @LastEditors: Chengsen Dong 1034029664@qq.com\n * @LastEditTime: 2023-08-18 19:09:23\n * @FilePath: /TinyLander-Linux-fb/README.md\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n--\u003e\n# TinyLander-Linux-fb\nTiny Lander like Lunar Lander for linux frame buffer     \n\n原始项目链接:https://github.com/tscha70/TinyLanderV1.0     \n由xddcore进行移植修改，以使能够运行在Linux Frame buffer上。         \n\n## 硬件说明\n**测试平台**: `xddcore zero linux board`      \n**Frame Buffer**: `320 * 240`，rgb565     \n**游戏分辨率**: `256 * 128`    \n**体感控制**: MPU6050\u0026ISP电容触摸屏      \n\n\n## 游戏玩法:      \n1. 运行游戏    \n2. 按下触摸屏或USB键盘空格键开始游戏    \n3. 控制登陆器在尽可能短的时间内登陆到目标平台上    \n\n**控制方式**:     \n\n1. 体感控制模式     \n左侧喷气, 右侧喷气: MPU6050角度体感控制     \n喷射向上: 点击触摸屏任意位置    \n\n2. USB键盘控制模式      \n左侧喷气, 右侧喷气: `A`, `D`     \n喷射向上: `Space` \n\n\n## 启动游戏:     \n1. 清屏\n```\ncat /dev/zero \u003e /dev/fb0\n```\n2. 编译:\n```\ng++ -o TinyLander gameinterface.cpp TinyLander.cpp\n```\n3. 运行\n```\n#切换USB为HOST模式\necho host \u003e /sys/devices/platform/soc/1c13000.usb/musb-hdrc.1.auto/mode\necho -e \"\\033[?25l\" \u003e /dev/tty1 #关闭光标\nstty -echo #关闭tty1回显，避免影响游戏\n./TinyLander\nstty -echo #开启tty1回显，继续干活\necho -e \"\\033[?25h\" \u003e /dev/tty1 #开启光标\n```\n\n## 外设测试:     \n\n1. USB键盘\n```\ngcc -o Keyboard_Test Keyboard_Test.c\n./Keyboard_Test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxddcore%2Ftinylander-linux-fb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxddcore%2Ftinylander-linux-fb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxddcore%2Ftinylander-linux-fb/lists"}