{"id":28500891,"url":"https://github.com/taskin-saadman/2048-java","last_synced_at":"2025-07-04T12:31:07.290Z","repository":{"id":288727061,"uuid":"969014383","full_name":"taskin-saadman/2048-JAVA","owner":"taskin-saadman","description":"A lightweight desktop clone of 2048 written in pure Java (Processing Library), featuring an adjustable grid, score \u0026 timer tracking, and one‑key restart—build and run instantly with the included Gradle script.","archived":false,"fork":false,"pushed_at":"2025-05-24T12:35:00.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T15:07:58.207Z","etag":null,"topics":["2048-game","java-8","processing-sketch"],"latest_commit_sha":null,"homepage":"","language":"Java","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/taskin-saadman.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":"2025-04-19T07:26:34.000Z","updated_at":"2025-05-24T12:35:03.000Z","dependencies_parsed_at":"2025-04-19T14:25:49.356Z","dependency_job_id":"39d0e3b5-2d63-4e4d-a7fe-2e164ed6c048","html_url":"https://github.com/taskin-saadman/2048-JAVA","commit_stats":null,"previous_names":["taskin-saadman/2048-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taskin-saadman/2048-JAVA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskin-saadman%2F2048-JAVA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskin-saadman%2F2048-JAVA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskin-saadman%2F2048-JAVA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskin-saadman%2F2048-JAVA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taskin-saadman","download_url":"https://codeload.github.com/taskin-saadman/2048-JAVA/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskin-saadman%2F2048-JAVA/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263539344,"owners_count":23477454,"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":["2048-game","java-8","processing-sketch"],"created_at":"2025-06-08T15:07:57.447Z","updated_at":"2025-07-04T12:31:07.276Z","avatar_url":"https://github.com/taskin-saadman.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2048 GAME\r\n\r\nA simple graphical version of the classic **2048 game** built in Java 8.0 using Gradle as the build system.\r\nInspiration taken from _https://play2048.co/_\r\n\r\n## 🧱 Project Structure\r\n\r\n- **Language:** Java\r\n- **Build Tool:** Gradle\r\n- **Dependencies:**\r\n  - `org.processing:core:3.3.7`\r\n  - \r\n## 📁 Directory Structure\r\n```\r\n2048-Game\r\n|--src\r\n|    |--main\r\n|          |--java\r\n|                 |TwentyFortyEight\r\n|                                 |--App.java\r\n|                                 |--Cell.java\r\n|--build.gradle\r\n```\r\n\r\n## ✅ Prerequisites\r\n\r\n- Java JDK 8 or higher\r\n- Gradle 5.6.3 or higher (or use the Gradle Wrapper)\r\n\r\n## 🔧 Build and Run the Project\r\nInsert commands from root directory\r\n```\r\ngradle build\r\ngradle run #(4x4 grid by default)\r\ngradle run --args=\"n\" #(nxn grid is generated)\r\n```\r\n\r\n## 🛠 Main Class\r\nThe entry point of the application is:\r\n```\r\nTwentyFortyEight.App\r\n```\r\n## 🎮 Game Controls\r\n\r\nUse the following keyboard keys to play the game:\r\n\r\n- **UP** – Move **Up**\r\n- **DOWN** – Move **Down**\r\n- **LEFT** – Move **Left**\r\n- **RIGHT** – Move **Right**\r\n- **R** – Restart the game after game over\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskin-saadman%2F2048-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaskin-saadman%2F2048-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskin-saadman%2F2048-java/lists"}