Is there some easy way to check whether the black king is on e8 or the white king is on e1, when using fen?
Here the black and white king are on d1/8
Here both are on the right field
The problem is that there is really no regularity, to check by indexing whether the King is on e1/e8.
The fen above, could also be
rb2k2r/3q4/8/8/8/8/8/R1Q1K1RRand would still be valid.
Checking for the rocks are pretty easy, since they have to be at the beginning or the end of the fen.