Towers of Hanoi: Difference between revisions

m
→‎pictorial moves: used a template for the output section.
m (→‎simple text moves: added/changed comments and whitespace, simplified the program, used a template for the output section.)
m (→‎pictorial moves: used a template for the output section.)
Line 3,698:
/*──────────────────────────────────────────────────────────────────────────────────────*/
showTowers: do j=N by -1 for N; _=@.1.j @.2.j @.3.j; if _\='' then say _; end; return</lang>
'''{{out|output''' |text=&nbsp; when using the default input:}}
<pre>
░░