chess online

chess online
GameKnot related: How do you use FEN?
« Back to forum
FromMessage
princevlad
18-Aug-10, 08:37

How do you use FEN?
Why isn't this diagram working? I used the code as described but just get the diagram with the two kings.



Thanks for your help.

for the record, this was the coding sans the prefix and quote marks.

FEN/2K5/8/2R3P1/2n6/P6p/1R6/2r5/2k5r
kingdawar
18-Aug-10, 08:50



fen= "2K5/8/2R3P1/2n6/P6p/1R6/2r5/2k5r"
ionadowman
18-Aug-10, 15:23

There are some mistakes...
... in counting squares.
I think this is the diagram you want:
w
fen=@2k4r/2r5/1R6/P6p/2n5/2R3P1/8/2K5@ w
In the latter I've substituted @ for ".
In this I've assumed three things: that the capitals do represent White pieces, that you began with the row nearest you, and that it is White to play.

Otherwise, just reverse the colours and the board:
w
fen=@2k5/8/2r3p1/2N5/p6P/1r6/2R5/2K4R@ w
The critical thing - and it's easy to get wrong - is the get the empty squares right.

ionadowman
18-Aug-10, 15:27

I omitted to mention:
If you want the diagram to read with White pieces ate the bottom, end the notation with a 'w' as you see above. You can have Black at the bottom if you enter 'b' instead.
baronderkilt
18-Aug-10, 15:55

Very Carefully . . .
}8-D