项目作者: Scorpibear

项目描述 :
Remote Interface for Chess Positions Analysis (RICPA) Specification
高级语言:
项目地址: git://github.com/Scorpibear/ricpa-specification.git
创建时间: 2017-11-22T09:47:32Z
项目社区:https://github.com/Scorpibear/ricpa-specification

开源协议:MIT License

下载


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}, …]