12048(1) General Commands Manual 2048(1)
2
3
4
6 2048 - play the game 2048 in your terminal
7
8
10 2048 [-hrcCaA] [-s SIZE] [-b RATE]
11
12
14 2048 is an implementation of the popular game, 2048, designed to be run
15 on a terminal. It is deisgned to be easy to understand and extend.
16
17
19 hjkl and wasd
20 Default movement keys. Depending on the graphics implementation,
21 there may be extra alternatives.
22
23 q Quit the current game.
24
25
27 -h Print the program usage.
28
29 -H Print the current highscore.
30
31 -c Enable color support if supported.
32
33 -C Disable color support (default).
34
35 -a Enable animations (default).
36
37 -A Disable animations.
38
39 -i Enable ai without displaying game.
40
41 -I Enable ai and display game.
42
43 -r Reset highscore. Will prompt user.
44
45 -s SIZE
46 Set the size of the playing field. Default is 4. Maximum value
47 is 16, minimum is 4.
48
49 -b RATE
50 Set the rate at which blocks are spawned. Default is 1.
51
52
54 Originally written by Marc Tiehuis. All contributions can be found at
55 https://github.com/Tiehuis/2048-cli.
56
57
59 MIT License (2014)
60
61
62
63 2048(1)