A 2048 game based on command line
by h1994st
$ make
You will get an executable file named 2048
, then:
$ ./2048 # run the game
Two control methods:
- WASD: A - Left, S - Down, W - Up, D - Right
- Vim: H - Left, J - Down, K - Up, L - Right
When the game start, you should enter a character(w, a, s, d
orh, j, k, l
) and then press Enter
.
Now enjoy it!
(MIT)