
About
2048 is a single-player sliding-tile puzzle game created by Gabriele Cirulli, released as open-source software on GitHub in March 2014; players slide numbered tiles on a grid to combine them into a tile numbered 2048, with the option to keep playing for higher numbers afterward. 2048Haskell is a terminal implementation of 2048 written in Haskell and built with Stack. Beyond letting a human play, it includes a bot option that can play the game automatically.
How it differs from the original
Unlike the original, this version lets an automated bot play the game instead of a human player.
Getting started
Build and run it with Stack (`stack setup`, `stack build`, `stack exec 2048Haskell`). At the start-up menu, hit enter, press 'h', then hit enter again to reach the player-selection screen, where you choose to play yourself or watch a bot play.