aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-09-09 00:46:34 +0900
committernsfisis <nsfisis@gmail.com>2023-09-09 00:46:34 +0900
commitc1a604fd1dee61c70c885586eb7bea7922450f56 (patch)
tree02eb45647baf692ccc5d05177e38d342c69c3ac0 /README.md
parent3c8e17b652e65ebf367b7059c3a9ef1888d8bc54 (diff)
download9-puzzle-quine.php-c1a604fd1dee61c70c885586eb7bea7922450f56.tar.gz
9-puzzle-quine.php-c1a604fd1dee61c70c885586eb7bea7922450f56.tar.zst
9-puzzle-quine.php-c1a604fd1dee61c70c885586eb7bea7922450f56.zip
puzzle quine
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3dfab60
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# 9 Puzzle Quine
+
+This is a playable quine, a program that outputs the source code itself.
+
+# How to Play
+
+```
+$ php 9.php <operation>
+```
+
+Available operations:
+
+* h: Move left
+* j: Move down
+* k: Move up
+* l: Move right
+
+An invalid operation is just ignored.
+
+## How to Shuffle
+
+There is no option to shuffle. Do manually like this:
+
+```
+$ cat 9.php | php -- l | php -- h | php -- k | ...
+```