1.0.8 • Published 3 years ago
towerhanoi v1.0.8
this package is a simple package.
To use the towerhanoi package, simply install package as -->> npm install towerhanoi
then require package in your file as -->> require('towerhanoi'); example: const tower = require('towerhanoi');
call the towerHanoi function on your variable the function takes one arguement which represents the number of disks that is supposed to be moved to different tower
-->> tower.towerHanoi(3); where 3 is total of 3 disks.