May 08, 2024, 04:02:39 AM *
Welcome, Guest. Please login or register.
News:
Advanced search
Pages: [1] 2 3 ... 10
 1 
 on: May 07, 2024, 07:40:43 PM 
Started by frizzy-spoons - Last post by richard
We don't really have an externally documented API for any part of the site.

There are basically two pathways for repertoire creation, one is via PGN import, the other is by adding moves move by move. Without knowing exactly what you're trying to achieve, I'm not sure which approach will be easier for you to deal with.

The import PGN path has a call on the RepertoireController object with this signature:
    importRepertoireFromPGN(pgn,name,ourColour,dialog,commentVisibility,alternativeLineTreatment,showPostCreateMessageFn=null)

However it is not really designed to be used for external automation use, as it requires you to feedi in UI elements required for the path to have access to in order to complete the UI interactions.

I'm not sure the effort involved in working out how to do this might not be worth the work you save over manually importing the repertoires yourself, given the lack of documentation and lack of thought  and consideration for external automation in the current implementation.


 2 
 on: May 07, 2024, 02:29:18 PM 
Started by frizzy-spoons - Last post by frizzy-spoons
I would like to create opening repertoire programmaticaly, but I could get what request is sent when PGN is uploaded.
Could you advise me, how to do it, or there is a separate API for that?

Kind regards,
Alexander

 3 
 on: May 07, 2024, 09:19:57 AM 
Started by fowgre - Last post by fowgre
Thank you for your help, it's very much appreciated.

 4 
 on: May 07, 2024, 05:38:21 AM 
Started by fowgre - Last post by richard
Chrome semi-recently added a 'feature' that cleans up idle pages you are not currently interacting with, so that it completely clears the page and reloads it when you come back to it to save on memory and CPU usage. If you are using chrome, this might have caused the behaviour you describe (you can turn this off in Chrome if you like on a per-site basis).

 5 
 on: May 07, 2024, 12:29:34 AM 
Started by fowgre - Last post by fowgre
Why does the position that I'm analyzing disappear? The one that I did earlier today got to depth 44 after 3.5 hours but when I came back from a bathroom break it was gone.  Cry

 6 
 on: May 06, 2024, 09:18:13 PM 
Started by fowgre - Last post by richard
When the lock is on, it means it will continue to analyse the current position while moving around in the game. WIthout the lock, the position the engine is analysing will always update to the current position as you move around in the game.

 7 
 on: May 06, 2024, 07:17:35 PM 
Started by fowgre - Last post by fowgre
What happens when you toggle the 'lock' icon? Does it make any difference if an analysis is still running or has been stopped?

 8 
 on: May 06, 2024, 03:43:21 PM 
Started by wnbeser - Last post by richard
Thanks, will be fixed in next upload (which might be a while).

 9 
 on: May 06, 2024, 02:02:33 AM 
Started by wnbeser - Last post by wnbeser
The tag descriptions of Relative Skewer has a typo (that I have marked with square brackets)
Quote
The player attacks a piece of the opponent, other than the king, which while it can legally move, cannot do so without exposing a square or piece [or] lesser or equal value behind it to attack. The front piece usually moves, allowing the piece behind it to be captured.

"or" -> "of" like it already is in all the other skewer tag descriptions.

 10 
 on: May 04, 2024, 10:23:52 PM 
Started by prairiedoc - Last post by richard
Probably easiest to just disable this one, given the closeless of the dominant failure move to the correct move in eval, even though there is the one pawn compenstaion for the exchange, I think failing these type of moves when the deeper stockfish eval is so close to best move is unfortunate.

Pages: [1] 2 3 ... 10