Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -0,0 +1,15 @@
|
|||
##
|
||||
function random960: string;
|
||||
begin
|
||||
var start := 'RKR';
|
||||
|
||||
foreach var piece in 'QNN' do
|
||||
Insert(piece, start, Random(start.length + 1) + 1);
|
||||
|
||||
var bishpos := Random(start.length + 1) + 1;
|
||||
Insert('B', start, bishpos);
|
||||
Insert('B', start, Range(bishpos + 1, start.Length + 1, 2).ToArray.RandomElement);
|
||||
result := start;
|
||||
end;
|
||||
|
||||
random960.Println;
|
||||
Loading…
Add table
Add a link
Reference in a new issue