2048 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
- 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:
With properly added ebuild:
emerge --ask 2048-ml
BSD New, see LICENSE for details.