h2048 alternatives and similar packages
Based on the "Game" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of h2048 or a related project?
A haskell implementation of Game 2048. Including:
- a library for experimenting game strategies for Game 2048.
- a simple program that provides the basic interaction with the game.
- a CUI implemented using brick.
Based on 2048
Build and run
h2048 comes with stack configuration, if you are building from source code, change directory to the project root and run:
stack build # to run the brick version stack exec -- h2048-brick # to run the simple version stack exec -- h2048-simple
h2048 is now available on hackage.
If you have Cabal installed, you can use the following command to install this project:
cabal update cabal install h2048
The binaries are
h2048-simple for simple CUI version,
h2048-brick for CUI version
How to play
If you are using
h2048-brick, you can also use arrow keys.