Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyx/2048-ml
2048 in OCaml
https://github.com/pyx/2048-ml
game ocaml
Last synced: 2 months ago
JSON representation
2048 in OCaml
- Host: GitHub
- URL: https://github.com/pyx/2048-ml
- Owner: pyx
- License: other
- Created: 2014-03-21T20:17:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-31T06:03:10.000Z (over 6 years ago)
- Last Synced: 2023-03-10T23:52:48.452Z (almost 2 years ago)
- Topics: game, ocaml
- Language: OCaml
- Homepage: http://xrefactor.com/projects/2048-ml
- Size: 22.5 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=============
2048 in OCaml
=============Introduction
============A clone of `2048`_, implemented in `OCaml`_.
.. _2048: https://github.com/gabrielecirulli/2048/
.. _OCaml: http://ocaml.org/Features
--------- Cross-platform GUI with no external dependency, using graphics library that
comes with OCaml
- Text (ascii) output as well
- Gameplay actions implemented as *monadic functions*, for example, to place
two new tiles:.. code:: ocaml
playing board >>= spawn >>= spawn
Requirements
============To compile
- `OCaml`_ 4.01 or newer.
Installation
============Gentoo
------There are ebuilds come with 2048-ml for each tagged release.
They can also be found (along with Manifest) in my personal overlay:
Mercurial:
https://bitbucket.org/pyx/overlayGit:
https://github.com/pyx/overlay.gitWith properly added ebuild:
.. code:: bash
emerge --ask 2048-ml
From Source
-----------Compile
.. code:: bash
make
Install
.. code:: bash
make install
License
=======BSD New, see LICENSE for details.
Links
=====Project:
http://xrefactor.com/projects/2048-mlIssue Tracker:
https://bitbucket.org/pyx/2048-ml/issues/Mercurial Repository on Bitbucket:
https://bitbucket.org/pyx/2048-ml/Git Repository on Github:
https://github.com/pyx/2048-ml/