aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-28 08:34:16 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-28 08:34:16 +0200
commitfeae9f442000cf218c249e6e163e8b5137771857 (patch)
tree4244ae75d5c39e8442d65c9357d66bf91924f6b3 /README.md
parentb9c8bbac74bb828eeae033a54c1f25d1711cf66a (diff)
downloadhanoi-feae9f442000cf218c249e6e163e8b5137771857.tar.gz
hanoi-feae9f442000cf218c249e6e163e8b5137771857.tar.bz2
hanoi-feae9f442000cf218c249e6e163e8b5137771857.zip
Added player controls
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.