2048 - Man Page
play the game 2048 in your terminal
Examples (TL;DR)
- Play the game 2048 in the console (using original color scheme):
2048 - Use an alternative color scheme (requires 256-color terminal support):
2048 bluered|blackwhite
Synopsis
Description
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.
Controls
- hjkl and wasd
Default movement keys. Depending on the graphics implementation, there may be extra alternatives.
- q
Quit the current game.
Options
- -h
Print the program usage.
- -H
Print the current highscore.
- -c
Enable color support if supported.
- -C
Disable color support (default).
- -a
Enable animations (default).
- -A
Disable animations.
- -i
Enable ai without displaying game.
- -I
Enable ai and display game.
- -r
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.
Authors
Originally written by Marc Tiehuis. All contributions can be found at https://github.com/Tiehuis/2048-cli.
Copyright
MIT License (2014)