-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for 960 chess (Fischer random chess) #15
Comments
This would be indeed useful, and will be implemented at some point. However, as FEN parsing is delegated to a third-party JavaScript library (https://github.com/jhlywa/chess.js) that does not support Schredder-FEN, implementing this feature is not immediate. |
I guess chess.js is heading another way , at least this is what you understand reading the todo. Another chesslibrary that might help and has a pretty good api is chesslib which already supports 960 and has on todo list fairy pieces and non standard board sizes (for chess problems etc...) Unfortunatelly i do not know any chess js library that supports even more advance fen like those you can find here that can support overlaying crosses arrows , numbers and other, although i think adding those as attibutes (like wx=b5,c5 meaing white cross at b5 and c5, that way you dont have to mess with fen parsing at all) to your FEN shortcodes is not so hard (i ll give it a try) |
chess.js impedes the implementation of chess 960 in the plugin, but also the improvement of parsing error messages (see #11). So I'm working on replacing it with a custom chess library. Should be available by January 2015 I hope. Your suggestion about having some overlaying symbols on the chessboard is relevant. However it is not related to the chess library itself, but the graphical layer in charge of chessboard rendering in the HTML document. |
I was refering to the chess library, since the parsing is done there. Anyway. I really like your plugin. Here is my usage at my club's website . Thx to your latest addition, fully responsive. |
Just wondering about the viability of chess960 in rpb-chessboard these days, considering that the Unofficial Chess960 World Championship is on :) By the way, X-FEN is not necessary for the display of chess960 games from the start (standard FEN can handle all 960 starting positions). X-FEN is only needed in cases which might arise in actual play where it's ambiguous which rook is the castling rook (although these positions must be quite rare). There's an X-FEN example here. |
Hi, |
Done in RPB Chessboard version 5.4. |
Hi, i propose including the ability to set the starting positions of 960's chess in FEN (some options are described in Wiki http://en.wikipedia.org/wiki/Forsyth-Edwards_Notation#FEN_adjustment_for_chess_variants_like_Chess960) so it would be possible to show 960 games. Ew. pgn4web supports as well X-FEN as Schredder-FEN, maybe it would be useful: https://code.google.com/p/pgn4web/wiki/PGN_Support#about_Chess960
The text was updated successfully, but these errors were encountered: