{"id":19715670,"url":"https://github.com/pyx/2048-ml","last_synced_at":"2025-06-27T10:36:46.905Z","repository":{"id":15263932,"uuid":"17993079","full_name":"pyx/2048-ml","owner":"pyx","description":"2048 in OCaml","archived":false,"fork":false,"pushed_at":"2018-05-31T06:03:10.000Z","size":23,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-29T20:39:41.220Z","etag":null,"topics":["game","ocaml"],"latest_commit_sha":null,"homepage":"http://xrefactor.com/projects/2048-ml","language":"OCaml","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyx.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2014-03-21T20:17:49.000Z","updated_at":"2022-05-25T07:24:05.000Z","dependencies_parsed_at":"2022-09-05T09:11:22.123Z","dependency_job_id":null,"html_url":"https://github.com/pyx/2048-ml","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pyx/2048-ml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyx%2F2048-ml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyx%2F2048-ml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyx%2F2048-ml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyx%2F2048-ml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyx","download_url":"https://codeload.github.com/pyx/2048-ml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyx%2F2048-ml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262240756,"owners_count":23280576,"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":["game","ocaml"],"created_at":"2024-11-11T22:39:07.112Z","updated_at":"2025-06-27T10:36:46.881Z","avatar_url":"https://github.com/pyx.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"=============\n2048 in OCaml\n=============\n\n\nIntroduction\n============\n\nA clone of `2048`_, implemented in `OCaml`_.\n\n.. _2048: https://github.com/gabrielecirulli/2048/\n.. _OCaml: http://ocaml.org/\n\n\nFeatures\n--------\n\n- Cross-platform GUI with no external dependency, using graphics library that\n  comes with OCaml\n- Text (ascii) output as well\n- Gameplay actions implemented as *monadic functions*, for example, to place\n  two new tiles:\n\n  .. code:: ocaml\n\n    playing board \u003e\u003e= spawn \u003e\u003e= spawn\n\n\nRequirements\n============\n\nTo compile\n\n- `OCaml`_ 4.01 or newer.\n\n\nInstallation\n============\n\nGentoo\n------\n\nThere are ebuilds come with 2048-ml for each tagged release.\n\nThey can also be found (along with Manifest) in my personal overlay:\n\nMercurial:\n  https://bitbucket.org/pyx/overlay\n\nGit:\n  https://github.com/pyx/overlay.git\n\nWith properly added ebuild:\n\n.. code:: bash\n\n  emerge --ask 2048-ml\n\n\nFrom Source\n-----------\n\nCompile\n\n.. code:: bash\n\n  make\n\nInstall\n\n.. code:: bash\n\n  make install\n\n\nLicense\n=======\n\nBSD New, see LICENSE for details.\n\n\nLinks\n=====\n\nProject:\n  http://xrefactor.com/projects/2048-ml\n\nIssue Tracker:\n  https://bitbucket.org/pyx/2048-ml/issues/\n\nMercurial Repository on Bitbucket:\n  https://bitbucket.org/pyx/2048-ml/\n\nGit Repository on Github:\n  https://github.com/pyx/2048-ml/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyx%2F2048-ml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyx%2F2048-ml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyx%2F2048-ml/lists"}