aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a9ba8f2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
+# hanoi
+
+Tower of hanoi puzzle with ncurses.
+
+## Usage
+
+```
+make
+./hanoi [number of disks]
+```
+
+### Controls
+
+Cycle through the 3 pegs with `j`/`k` or left/right arrow.
+Pick a peg with `Enter`.
+You first pick the peg to take a disk from than pick the one where you want the disk to be put.