Jump to content

Towers of Hanoi: Difference between revisions

m
→‎pictorial moves: moved some statements around.
m (→‎pictorial moves: added/changed comments and whitespace, changed indentations.)
m (→‎pictorial moves: moved some statements around.)
Line 2,901:
/*──────────────────────────────────────────────────────────────────────────────────────*/
dsk: parse arg from dest; #=#+1; pp=
if from==1 then do; pp=overlay(bl, pp, c.1)
pp=overlay(blbar, pp, c.1+1, c.dest-c.1-1, bar) || tr
pp=overlay(bar, pp, c.1+1, c.dest-c.1-1, bar) || tr
end
if from==2 then do
Cookies help us deliver our services. By using our services, you agree to our use of cookies.