sponsor Vim development Vim logo Vim Book Ad

Hanoi Tower : Let your vim moves the hanoi tower to get tired.

 script karma  Rating 0/0, Downloaded by 1115  Comments, bugs, improvements  Vim wiki

created by
Samuel Yang
 
script type
game
 
description
The Hanoi Tower is the famous case study for illustrating the recursive algorithm.
And this is the simplest implementation written in vim macro.
 
install details
vi +"source hanoi.vim"
then press "g" to start,
or append the tower as longer as you wish before start.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
hanoi.vim 1.1 2003-08-06 6.0 Samuel Yang add feature of aborting for endless recursive loop
hanoi.vim 1.0 2003-08-06 6.0 Samuel Yang Initial upload
ip used for rating: 18.222.115.179

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github