X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=www%2Fopening-stats.pl;h=3a02cf9fde6fcd917b5d3cbc6237c9a3949c4ce2;hb=55481cd69d21b31bfdcc6e33853ea475ed16f622;hp=f9e85484eb0ca749df78fbd604b9a10a7f748319;hpb=a2d81b1c374f7d37394b9129179a34aeb3c074cc;p=remoteglot-book diff --git a/www/opening-stats.pl b/www/opening-stats.pl index f9e8548..3a02cf9 100755 --- a/www/opening-stats.pl +++ b/www/opening-stats.pl @@ -21,7 +21,7 @@ my $hex = unpack('H*', $pos->bitpacked_fen); print $chld_in $hex, "\n"; chomp (my $line = <$chld_out>); -my ($white, $draw, $black, $opening_num, $white_avg_elo, $black_avg_elo, $num_elo, $timestamp, @moves) = split / /, $line; +my ($white, $draw, $black, $opening_num, $white_avg_elo, $black_avg_elo, $num_elo, $timestamp, $pgn_start_position, @moves) = split / /, $line; my $opening = $openings{$opening_num} // 'A00: Start position'; # Explore one move out.