stack setup
stack build
stack exec 2048Haskell
In the menu:
- hit enter
- press h
- hit enter again
- now you can play!
At the start of the game you can select a player (either yourself or a bot). Hit enter, and then enter the character representing the player you want.
Board made up of 16 tiles. Possible moves: Left, Right, Up, Down
- At each time step a new tile that is a random multiple of 2 will be placed in the board.
- When you select one of the moves, all tiles will move as far as possible in that direction in the grid.
- Tiles of the same value will combine into 1 tile with the value of their sum.
- The objective is to get a highest value tile you can. The highest possible value tile to win the game is 2048.