Skip to content

Remote Interface for Chess Positions Analysis (RICPA) Specification

License

Notifications You must be signed in to change notification settings

Scorpibear/ricpa-specification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Remote Interface for Chess Positions Analysis (RICPA) Specification

GET /fen - returns best move for this fen or estimated time when answer could be provided. {bestMove, estimatedTime}. If fen is not analyzed and is not in queue, returns {bestMove: underfined, estimatedTime: underfined}

POST /fen - posts fen for analysis with specified depth at the end of a queue, triggers analysis from the top of queue if nothing is being analyzed now

  • fen - FEN of chess position
  • depth - depth to analyze
  • returns place in queue starting from 0 and estimated time to analyze

DELETE /fen - delete specified fen from the queue

GET /queue - gets queue as [{fen, depth, estimatedTime}, ...]