{"id":20844499,"url":"https://github.com/webgl/2048-cubed","last_synced_at":"2025-07-07T21:03:52.360Z","repository":{"id":197878521,"uuid":"699239456","full_name":"webgl/2048-cubed","owner":"webgl","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-05T04:45:44.000Z","size":2739,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T16:05:34.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webgl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-02T08:23:01.000Z","updated_at":"2024-07-18T03:32:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b40962f-0e1b-489f-8baf-074d175c8736","html_url":"https://github.com/webgl/2048-cubed","commit_stats":null,"previous_names":["webgl/2048-cubed"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgl%2F2048-cubed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgl%2F2048-cubed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgl%2F2048-cubed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgl%2F2048-cubed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webgl","download_url":"https://codeload.github.com/webgl/2048-cubed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248271546,"owners_count":21075800,"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":[],"created_at":"2024-11-18T02:09:48.616Z","updated_at":"2025-04-10T18:31:38.047Z","avatar_url":"https://github.com/webgl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2048^3\n\n\u003e An interactive 3D cube version of 2048 in 3D\n\n---\n\n## Why 2048^3?\n\nBecause it’s 2048, but:\n\n- Rendered in 3D\n- Built to handle a 3D grid\n- Developed with Three.js\n  ... hence, 2048^3 cubed :)\n\n## Installation\n\nYou can simply fork or clone (download); then follow the given commands.\n\n```bash\n  $ npm i\n  $ npm start\n```\n\n## Usage\n\nOnce you've installed all of the dependencies and issued the command `npm start`, parcel will automatically fire up `localhost` and present you with the game.\n\nThe controls are as follows (refer to TODOs with upcoming features):\n\n- WASD: Flips the cube around\n- Arrows: Move the cubes to either left, right, up, or down\n- \u003c: Moves the cubes back (towards the back of the cube)\n- ?: Moves the cubes forward (towards the front of the cube)\n\nAdditionally, `npm start` provides you with live reloading and compiling of the assets from the `src` directory to `dist`.\n\nSome concepts that you may see through the code:\n\n- Index refers to the position index of a flat array\n- Position refers to the position of a cell/cube in a grid\n- Coordinates refers to the coordinates of the cube in actual 3D space\n\n## TODOs\n\nI'll be adding more meshing features; that said, if you'd like a feature, let me know so that I'll try and implement it into future updates.\n\n- Responsive: Ensure the application is responsive and adapts\n- Gesture Support: Add touch and intuitive gesture support.\n- Mobile Support: Make the game responsiveness to various resolutions.\n- Optimizations: There are optimizations in the pipeline for faster traversals, data structures, and precomputing.\n- Game Mechanics: Add scoring, leaderboards, and other game mechanics.\n- Build support: Fix assets directory, compress output, etc.\n- Different controllers: Different controllers (e.g. touchpad, VR, etc.).\n- Different renderers: Add support for Babylon, CSS3D, SCG, etc.\n- Unit tests for the different modules\n- Automatated e2e perhaps with three-musketeers\n- TypeScript\n- Documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgl%2F2048-cubed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebgl%2F2048-cubed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgl%2F2048-cubed/lists"}