You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, for the move 22. Qf6+ in the 'Immortal Game'—hailed as a legendary chess match—, the FEN code is as follows: r1bk2nr/p2p1pNp/n2B1Q2/1p1NP2P/6P1/3P4/P1P1K3/q5b1 b - - 2 22
Note that FEN notation captures more information than ChessBoard-Web.js requires, like who's move it is and whether or not castling is allowed. This information will be ignored; only the position information is used.
See an example of using a FEN String to represent a position here and here.
ChessBoard-Web.js exposes the Chessboard.fenToObj method to help convert a FEN String to a Position Object.