aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: a9ba8f229c2266fc16bc63f00b4d5abe38204e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.