From feae9f442000cf218c249e6e163e8b5137771857 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 28 Jun 2020 08:34:16 +0200 Subject: Added player controls --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 README.md (limited to 'README.md') 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. -- cgit