aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
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 | ...
+```