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