diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-06-28 08:34:16 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-28 08:34:16 +0200 |
| commit | feae9f442000cf218c249e6e163e8b5137771857 (patch) | |
| tree | 4244ae75d5c39e8442d65c9357d66bf91924f6b3 /README.md | |
| parent | b9c8bbac74bb828eeae033a54c1f25d1711cf66a (diff) | |
| download | hanoi-feae9f442000cf218c249e6e163e8b5137771857.tar.gz hanoi-feae9f442000cf218c249e6e163e8b5137771857.tar.bz2 hanoi-feae9f442000cf218c249e6e163e8b5137771857.zip | |
Added player controls
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
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. |
