changed chess960 to use only goodie name in header
parent
8cbfdb7320
commit
2b59fea5bd
|
@ -134,7 +134,8 @@ RKBRNBNQ RKBRNNQB RBKRBNNQ RKRBBNNQ RKRNBBNQ RKRNBNQB RBKRNNBQ RKRBNNBQ RKRNNBBQ
|
|||
my $position_lc = lc $position;
|
||||
my $html = "<img src='/iu/?u=http://www.apronus.com/chess/stilldiagram.php?d=P${position}PPPPPPPP________________________________pppppppp${position_lc}0&w=8&h=8'/>";
|
||||
|
||||
return $output, html => $html, heading => "$query (Chess960 Starting Position)";
|
||||
$query =~ s/^ chess960|chess960 $|chess960 //i;
|
||||
return $output, html => $html, heading => "$query (Chess960)";
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
@ -26,7 +26,7 @@ Black: ([BKNQRP] ?){1,8}
|
|||
|
||||
html => qr|<img src='/iu/\?u=http://www\.apronus\.com/chess/stilldiagram\.php\?d=[BKNQRPbknqrp]{0,16}PPPPPPPP________________________________pppppppp[bknqrpBKNQRP]{0,16}0&w=8&h=8'/>|,
|
||||
|
||||
heading => 'random chess960 position (Chess960 Starting Position)'
|
||||
heading => 'random position (Chess960)'
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue