<opt>
  <sig>
    <code>sub d{print&quot;\ec&quot;;select$q,$q,$q,0.3;for$p(0..2){printf&quot;\e[%d;%dH%s&quot;.$/x$
d,$d-$_+2,2*$d*(1+$p)-($$p[$_]?(length$$p[$_])/2:1),$$p[$_]||&quot;|&quot;for 0..$
d-1}}push@0,&quot;-&quot;x(1-2*$_)for-($d=shift||3)+1..0;sub h{my($n,$s,$d,$i)=@_;
if($n&gt;0){h($n-1,$s,$i,$d);push@$d,pop@$s;d;h($n-1,$i,$d,$s)}}h($d,0,2,1)</code>
    <pm>263640</pm>
    <title>Hanoi</title>
  </sig>
</opt>

