2048 [-hrcCaA] [-s SIZE] [-b RATE]
2048 is an implementation of the popular game, 2048, designed to be run on a terminal. It is deisgned to be easy to understand and extend.
- hjkl and wasd
Default movement keys. Depending on the graphics implementation, there may be extra alternatives.
Quit the current game.
Print the program usage.
Print the current highscore.
Enable color support if supported.
Disable color support (default).
Enable animations (default).
Enable ai without displaying game.
Enable ai and display game.
Reset highscore. Will prompt user.
- -s SIZE
Set the size of the playing field. Default is 4. Maximum value is 16, minimum is 4.
- -b RATE
Set the rate at which blocks are spawned. Default is 1.
Originally written by Marc Tiehuis. All contributions can be found at https://github.com/Tiehuis/2048-cli.
MIT License (2014)
The man pages 2048nc(1) and 2048sdl(1) are aliases of 2048(1).