{"id":20864756,"url":"https://github.com/nightswatchgames/rubiks-cube","last_synced_at":"2026-03-07T03:31:18.435Z","repository":{"id":147969755,"uuid":"574545641","full_name":"NightsWatchGames/rubiks-cube","owner":"NightsWatchGames","description":"Rubik's cube made with bevy engine.","archived":false,"fork":false,"pushed_at":"2024-12-24T05:46:33.000Z","size":448,"stargazers_count":44,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T16:57:35.271Z","etag":null,"topics":["bevy","game","rubiks-cube","rust"],"latest_commit_sha":null,"homepage":"https://nightswatchgames.github.io/games/rubiks-cube/","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/NightsWatchGames.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,"zenodo":null}},"created_at":"2022-12-05T14:47:35.000Z","updated_at":"2025-06-10T12:33:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6d15ff5-db9f-4b3d-8641-2b076a0b0ceb","html_url":"https://github.com/NightsWatchGames/rubiks-cube","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NightsWatchGames/rubiks-cube","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightsWatchGames%2Frubiks-cube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightsWatchGames%2Frubiks-cube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightsWatchGames%2Frubiks-cube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightsWatchGames%2Frubiks-cube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NightsWatchGames","download_url":"https://codeload.github.com/NightsWatchGames/rubiks-cube/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightsWatchGames%2Frubiks-cube/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bevy","game","rubiks-cube","rust"],"created_at":"2024-11-18T05:44:12.257Z","updated_at":"2026-03-07T03:31:18.405Z","avatar_url":"https://github.com/NightsWatchGames.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[English](https://github.com/NightsWatchGames/rubiks-cube/blob/master/README_EN.md)\n# Rubik's Cube 魔方\n- [x] 3阶魔方\n- [x] 随机打乱魔方\n- [x] 重置魔方\n- [x] 鼠标拖拽魔方旋转\n- [x] 游戏UI\n- [x] 相机视角控制（缩放、移动）\n- [x] WASM支持\n\n在线游玩：[点这里](https://nightswatchgames.github.io/games/rubiks-cube/)（电脑版Chrome/Firefox/Edge打开）\n\n## 运行\n1. 本地运行\n```\ncargo run\n```\n2. WASM运行\n```\nrustup target install wasm32-unknown-unknown\ncargo install wasm-server-runner\ncargo run --target wasm32-unknown-unknown\n```\n```\ncargo install wasm-bindgen-cli\ncargo build --release --target wasm32-unknown-unknown\nwasm-bindgen --out-dir ./out/ --target web ./target/wasm32-unknown-unknown/release/rubiks-cube.wasm\n```\n\n## 游戏展示\n视频演示：[B站](https://www.bilibili.com/video/BV1He4y1L7mS)\n\n![playing cube](https://raw.githubusercontent.com/NightsWatchGames/rubiks-cube/master/screenshots/playing_cube.jpg)\n\n## 参考资料\n- [Rubik's Cube - Wikipedia](https://en.wikipedia.org/wiki/Rubik%27s_Cube)\n- [Online Rubik's Cube example1](https://rubikscu.be/)\n- [Online Rubik's Cube example2](https://cube-solver.com/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightswatchgames%2Frubiks-cube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnightswatchgames%2Frubiks-cube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightswatchgames%2Frubiks-cube/lists"}