mirror of
https://github.com/begilbert-sys/2048-in-C
synced 2024-12-26 21:58:10 +01:00
Update README.md
This commit is contained in:
parent
54397bcff6
commit
98b0cee3b5
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
||||||
# 2048-in-C
|
# 2048 in C
|
||||||
2048, written in C, for the terminal.
|
2048, written in C, for the terminal.
|
||||||
|
|
||||||
Controls:
|
### Controls:
|
||||||
|
|
||||||
Arrow Keys to move
|
Arrow Keys to move
|
||||||
|
|
||||||
R to reset the game
|
R to reset the game
|
||||||
|
|
||||||
This program uses ncurses and I've only tested it on my Mac's terminal. Here's the command I use to run it:
|
### Running:
|
||||||
|
This program uses ncurses, and I've only tested it on my Mac's terminal. Here's the command I use to run it:
|
||||||
|
|
||||||
`gcc -lcurses main.c -o main && ./main`
|
`gcc -lcurses main.c -o main && ./main`
|
||||||
|
|
Loading…
Reference in a new issue