Find Chess960 starting position identifier: Difference between revisions

→‎{{header|Julia}}: Add troublesome examples.
(→‎{{header|Go}}: Add problematic examples.)
(→‎{{header|Julia}}: Add troublesome examples.)
Line 482:
end
 
for position in ["♕♘♖♗♗♘♔♖", "♖♘♗♕♔♗♘♖", "♖♕♘♗♗♔♖♘", "♖♘♕♗♗♔♖♘"]
println(collect(position), " => ", chess960spid(position))
end
Line 489:
['♕', '♘', '♖', '♗', '♗', '♘', '♔', '♖'] => 105
['♖', '♘', '♗', '♕', '♔', '♗', '♘', '♖'] => 518
['♖', '♕', '♘', '♗', '♗', '♔', '♖', '♘'] => 601
['♖', '♘', '♕', '♗', '♗', '♔', '♖', '♘'] => 617
</pre>
 
1,479

edits