ハノイの塔でディスク遷移が見たい

Necessary moves over 3 rods = logN - 1 (N = # of disks)

  • 5 disks

f:id:nishidy:20160823004621g:plain

  • 8 disks

f:id:nishidy:20160823003715g:plain

  • 12 disks

f:id:nishidy:20160823011116g:plain

実装はこちら Tower of hanoi with arbitrary disks showing the move among rods · GitHub