Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    #
    ...
        $pboard->{$square} = 1;
        print "\n\n";
    }
    
  2. or download this
    my $psolution = [qw(
        a8 c7 e8 g7 h5 f6 d7 b8 c6 a7 c8 e7 g8 h6 f7 d8
    ...
    my $pboard = { };
    map { show_solution($_, $pboard) } @$psolution;