2048 is game where you goal is to reach a 2048 tile/cell. You can do that by moving and merging cells with a same values together.
To move tiles to different directions use arrow keys, w/a/s/d or h/j/k/l.
Read more on Wikipedia.
-s <side-length>
: Lenght of the sides of the game board (must be bigger than 1).-e
: Enable endless mode - the game doesn't end at 2048.-m
: Minimalist mode - hide side informations (score, game name).
The easiest way to build the game is with make
. To get started, follow the instructions here. Note that while the game has not been tested on macOS, it should work in theory.