blob: a26236a4b2217b83312d1701031f80e6bd383b0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# hanoi
Tower of hanoi puzzle with ncurses.
## Usage
```
make
./hanoi [number of disks] [-s]
```
Use `-s` to solve the puzzle.
### 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.
|