A clone of 2048, implemented in OCaml.
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:
playing board >>= spawn >>= spawn
To compile
- OCaml 4.01 or newer.
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/overlay
- Git:
- https://github.com/pyx/overlay.git
With properly added ebuild:
emerge --ask 2048-ml
Compile
make
Install
make install
BSD New, see LICENSE for details.
- Project:
- http://xrefactor.com/projects/2048-ml
- Issue 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/