Help for this page

Select Code to Download


  1. or download this
    sub sqToAlg {
       my $sq = shift;
    ...
       # from right to left, bottom to top
       substr('abcdefgh',7 - $sq % 8,1) . ($sq / 8);
    }