Jump to content

Find Chess960 starting position identifier: Difference between revisions

→‎{{header|Go}}: Add problematic examples.
(→‎{{header|Factor}}: Add problematic examples.)
(→‎{{header|Go}}: Add problematic examples.)
Line 408:
 
func main() {
for _, pieces := range []string{"♕♘♖♗♗♘♔♖", "♖♘♗♕♔♗♘♖", "♖♕♘♗♗♔♖♘", "♖♘♕♗♗♔♖♘"} {
fmt.Printf("%s or %s has SP-ID of %d\n", pieces, g2l(pieces), spid(pieces))
}
Line 417:
♕♘♖♗♗♘♔♖ or QNRBBNKR has SP-ID of 105
♖♘♗♕♔♗♘♖ or RNBQKBNR has SP-ID of 518
♖♕♘♗♗♔♖♘ or RQNBBKRN has SP-ID of 601
♖♘♕♗♗♔♖♘ or RNQBBKRN has SP-ID of 617
</pre>
 
1,480

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.