[ictk] Problem reading file imported from Letsplaychess
chess library in java, PGN, FEN, ICS
Brought to you by:
jvarsoke
|
From: Diego A. <die...@we...> - 2005-11-20 17:17:10
|
Hello, I am using the ICTK to build a front end for the correspondence chess web site http://www.letsplaychess.com I am mainly interested in the PGN COmponents. This is a file from letsplaychess that ICTK has trouble parsing [Event "www.ChessWorld.net server game"] [Site "www.ChessWorld.net "] [Date "2005.9.6"] [Round "NA"] [White "wojpaw"] [Black "diegoami"] [Result ""] [Termination "in progress"] [Mode "ICS"] [DateLastMove "2005.11.10"] [SetUp "1"] [FEN "rnbqkbnr/pppp1ppp/4p3/8/3PP3/8/PPP2PPP/RNBQKBNR b KQkq d3 0 2 "] [ECO "C09"] [Board "1653231"] 1. e4 e6 2. d4 d5 3. Nb1d2 c5 4. exd5 exd5 5. Ng1f3 Nb8c6 6. Bf1b5 Bf8d6 7. O-O Ng8e7 8. dxc5 Bd6xc5 9. Nd2b3 Bc5b6 10. Rf1e1 O-O 11. Bc1e3 Bc8g4 12. Be3xb6 axb6 13. Bb5e2 Rf8e8 14. Nf3d4 1) The FEN definition has some trailing spaces (easily fixed with trim() ) 2) The game is actually starting from the normal board position ! Now letsplaychess here is actually exporting the wrong PGN, since chessbase has problems with it too Greetings Diego Amicabile |