Drax946 had an idea to add ECO information to the game page.
There are some limitations and some problems, but the first pass of this has been added to the game.user.js userscript.
Transpositions seem to be a problem, especially when en passant becomes a consideration. I'm just pattern matching the FEN so there are no "smarts" in the program at this point.
If anyone knows a site that makes openings and/or games available through a Web service, let me know.
Originally posted by ouroboros Drax946 had an idea to add ECO information to the game page.
There are some limitations and some problems, but the first pass of this has been added to the game.user.js userscript.
Transpositions seem to be a problem, especially when en passant becomes a consideration. I'm just pattern matching the FEN so there are no "smarts" in the program at this ...[text shortened]... e knows a site that makes openings and/or games available through a Web service, let me know.
Sorry, could you explain where we can look at this?
Changed the implementation so that it ignores the 'en passant' but from the FEN. Hopefully this will make picking up transpositions better. Also, changed it a bit so that it doesn't hit my ISP's server so hard.
Originally posted by ouroboros http://members.shaw.ca/ouroboros/RHP/game.user.js
Changed the implementation so that it ignores the 'en passant' but from the FEN. Hopefully this will make picking up transpositions better. Also, changed it a bit so that it doesn't hit my ISP's server so hard.
Does it only show up on new games, as you play through the opening?
Originally posted by Ragnorak Does it only show up on new games, as you play through the opening?
D
Yes. It won't show up on the analysis board as each time that you make a move, it hits my server to do the lookup. Doing that on the analysis board might be a little heavy on the server. I might change the implementation later to make it a little lookup intensive later.
Originally posted by ouroboros Yes. It won't show up on the analysis board as each time that you make a move, it hits my server to do the lookup. Doing that on the analysis board might be a little heavy on the server. I might change the implementation later to make it a little lookup intensive later.
No worries, I was just wondering if there was a problem with mine.
Originally posted by ouroboros http://members.shaw.ca/ouroboros/RHP/game.user.js
Changed the implementation so that it ignores the 'en passant' but from the FEN. Hopefully this will make picking up transpositions better. Also, changed it a bit so that it doesn't hit my ISP's server so hard.
Would it be possible to keep the ECO at the bottom of the screen throughout the game?
New version that saves the ECO and displays the saved ECO if a lookup fails. The opening book that I have only has 2934 positions in it. Given the current infrastructure, I can't accomodate a bigger opening book.
It seems to bring up some very wierd opening names, which I'm sure arn't the proper names, but more slang names. Is there anyway for you to correct this so that is shows the correct opening names?
Originally posted by Freddie2006 It seems to bring up some very wierd opening names, which I'm sure arn't the proper names, but more slang names. Is there anyway for you to correct this so that is shows the correct opening names?
Blame Eric Schiller. http://www.ericschiller.com/resources.htm