aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-24 10:27:59 +0900
committernsfisis <nsfisis@gmail.com>2025-08-24 13:34:43 +0900
commit60613d00bbd7ad3541670d26dc27073810c53c29 (patch)
tree70c251ecffe7b98bae9117c7191c50f49267a358 /README.md
parent307dd4110d0dd2e1246288394f8a2b46a2e55add (diff)
download2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.tar.gz
2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.tar.zst
2048.c-60613d00bbd7ad3541670d26dc27073810c53c29.zip
rewrite without using ncursesHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 11 insertions, 7 deletions
diff --git a/README.md b/README.md
index 1862a2f..a14a743 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,24 @@
# 2048
-CLI 2048 written in 2 KiB.
+CLI 2048 written in 2 kb.
```
-$ wc -c *.c
- 2048 2048.c
- 4930 2048_clean.c
- 6978 total
+$ wc -c **/*.c
+ 2048 2048.c
+ 5574 2048_clean.c
+ 2048 orig/2048.c
+ 4930 orig/2048_clean.c
+14600 total
```
## Compile
```
-$ make build
+$ make
```
-By default, `2048.c` is compiled. If you want to compile another source file, set `SUFFIX` like this: `SUFFIX=_clean make build` (it compiles `2048_clean.c`)
+By default, `2048.c` is compiled. If you want to compile another source file, set `SUFFIX` like this: `SUFFIX=_clean make` (it compiles `2048_clean.c`)
## Play
@@ -40,3 +42,5 @@ $ ./bin/2048 8x8 # large 2048
* Minified version. Its file size is 2 KiB.
* `2048_clean.c`
* Human-friendly version.
+* `orig/2024.c` and `orig/2024_clean.c`
+ * Original version. They depends on `ncurses` library.