{"id":20428893,"url":"https://github.com/mhashim6/2048-oop","last_synced_at":"2026-05-09T08:04:11.410Z","repository":{"id":133664671,"uuid":"126519718","full_name":"mhashim6/2048-OOP","owner":"mhashim6","description":"object oriented implementation of 2048 game","archived":false,"fork":false,"pushed_at":"2018-04-28T19:57:58.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T05:30:38.146Z","etag":null,"topics":["1024","2048","game","java","kotlin","library","oop"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhashim6.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}},"created_at":"2018-03-23T17:44:18.000Z","updated_at":"2021-10-22T08:09:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c70a5d7-3935-47e3-b113-b48db7317918","html_url":"https://github.com/mhashim6/2048-OOP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mhashim6/2048-OOP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2F2048-OOP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2F2048-OOP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2F2048-OOP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2F2048-OOP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhashim6","download_url":"https://codeload.github.com/mhashim6/2048-OOP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2F2048-OOP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32811662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["1024","2048","game","java","kotlin","library","oop"],"created_at":"2024-11-15T07:29:20.722Z","updated_at":"2026-05-09T08:04:11.374Z","avatar_url":"https://github.com/mhashim6.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 2048-OOP\nobject oriented implementation of 2048 game in ~~java~~ kotlin.\n\ncheck basic implementation in  [Sample.kt](https://github.com/mhashim6/2048-OOP/blob/master/src/mhashim6/game1024/Sample.kt).\n\noutput snippet (from a loop, not AI):\n```\nUP\n\t4\t4\t64\t256\n\t8\t16\t32\t128\n\t0\t32\t16\t32\n\t2\t4\t8\t16\n-------------------------------------------\nRIGHT\n\t0\t8\t64\t256\n\t8\t16\t32\t128\n\t2\t32\t16\t32\n\t2\t4\t8\t16\n-------------------------------------------\nDOWN\n\t0\t8\t64\t256\n\t2\t16\t32\t128\n\t8\t32\t16\t32\n\t4\t4\t8\t16\n-------------------------------------------\nLEFT\n\t8\t64\t256\t2\n\t2\t16\t32\t128\n\t8\t32\t16\t32\n\t32\t0\t0\t0\n-------------------------------------------\nUNDO\n\t0\t8\t64\t256\n\t2\t16\t32\t128\n\t8\t32\t16\t32\n\t4\t4\t8\t16\n-------------------------------------------\nUP\n\t2\t8\t64\t256\n\t8\t16\t32\t128\n\t4\t32\t16\t32\n\t2\t4\t8\t16\n-------------------------------------------\nRIGHT\n-mhashim6.game1024.exceptions.GameOverException: You Lose!\n105 turns in time: 130 ms\n```\n\n## TODO (hopefully soon):\n - Allow for extension, to use in GUI's.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhashim6%2F2048-oop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhashim6%2F2048-oop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhashim6%2F2048-oop/lists"}