
About
2048 is a single-player sliding tile puzzle game written by Italian web developer Gabriele Cirulli, originally built in JavaScript and CSS and released as free, MIT-licensed software on GitHub on 9 March 2014; iOS and Android versions followed in May 2014. h2048 is a Haskell implementation of 2048, including a library for experimenting with automated game-playing strategies, a simple text-based program, and a fuller console interface built with the "brick" library. It's published on Hackage and can be built with Stack or Cabal.
How it differs from the original
Unlike the original browser game, h2048 adds a library specifically for experimenting with and testing automated 2048-playing strategies, alongside multiple playable interface options.
Getting started
After building with Stack or installing via Cabal from Hackage, run either the simple text interface or the fuller "brick" console interface. Movement uses i/j/k/l for up/left/down/right (or arrow keys in the brick version), with q to quit.