facebook twitter hatena line email

将棋プログラム/フリーライブラリ

提供: 初心者エンジニアの簡易メモ
2024年12月18日 (水) 15:32時点におけるAdmin (トーク | 投稿記録)による版 (上記qiitaのna-o-ysさんの技巧を使ったAPIのレスポンス例)

移動: 案内検索

http://www.computer-shogi.org/library/

技巧をつかったサーバーレスAPI

https://qiita.com/na-o-ys/items/b04ce27732c82b6beb9b https://qiita.com/muzudho1/items/8f940f8b4c679c23a174

以下コマンドを実行すればコンソールで実行できる

https://hub.docker.com/r/naoys/gikou/

docker run -it naoys/gikou
(interactive USI session)
> usi

続きは以下をusiを参考

将棋プログラム/技巧/mac [ショートカット]

上記qiitaのna-o-ysさんの技巧を使ったAPIのレスポンス例

ttps://17xn1ovxga.execute-api.ap-northeast-1.amazonaws.com/production/gikou?byoyomi=1&position=sfen+lnB2gsnl%2f5s1k1%2fprp%2bPppgpp%2f3R2p2%2f1p7%2f2P6%2fPPN1PPPPP%2f2S4K1%2fL2G1GSNL+w+bp+1

{"request":{"byoyomi":"1","position":"sfen lnB2gsnl/5s1k1/prp+Pppgpp/3R2p2/1p7/2P6/PPN1PPPPP/2S4K1/L2G1GSNL w bp 1"},"bestmove":"8e8f","bestpv":{"pv":["8e8f","8g8f","8c8f","6c5c","8f8h+","5c4b","3a4b"],"raw_string":"info depth 7 seldepth 7 time 10 nodes 5672 nps 567200 hashfull 0 score cp -1229 multipv 1 pv 8e8f 8g8f 8c8f 6c5c 8f8h+ 5c4b 3a4b","depth":7,"seldepth":7,"time":10,"nodes":5672,"nps":567200,"hashfull":0,"score_cp":-1229,"multipv":1},"info_list":[{"pv":["8e8f","8g8f"],"raw_string":"info depth 1 seldepth 1 time 3 nodes 1238 nps 412666 hashfull 0 score cp -1175 multipv 1 pv 8e8f 8g8f","depth":1,"seldepth":1,"time":3,"nodes":1238,"nps":412666,"hashfull":0,"score_cp":-1175,"multipv":1},{"pv":["8e8f","8g8f"],"raw_string":"info depth 2 seldepth 2 time 3 nodes 1529 nps 509666 hashfull 0 score cp -1175 multipv 1 pv 8e8f 8g8f","depth":2,"seldepth":2,"time":3,"nodes":1529,"nps":509666,"hashfull":0,"score_cp":-1175,"multipv":1},{"pv":["8e8f","8g8f","8c8f"],"raw_string":"info depth 3 seldepth 3 time 4 nodes 1862 nps 465500 hashfull 0 score cp -1263 multipv 1 pv 8e8f 8g8f 8c8f","depth":3,"seldepth":3,"time":4,"nodes":1862,"nps":465500,"hashfull":0,"score_cp":-1263,"multipv":1},{"pv":["8e8f","8g8f","8c8f","6c5c"],"raw_string":"info depth 4 seldepth 4 time 5 nodes 2258 nps 451600 hashfull 0 score cp -1263 multipv 1 pv 8e8f 8g8f 8c8f 6c5c","depth":4,"seldepth":4,"time":5,"nodes":2258,"nps":451600,"hashfull":0,"score_cp":-1263,"multipv":1},{"pv":["8e8f","8g8f","8c8f","6c5c","8f8h+"],"raw_string":"info depth 5 seldepth 5 time 5 nodes 2863 nps 572600 hashfull 0 score cp -1270 multipv 1 pv 8e8f 8g8f 8c8f 6c5c 8f8h+","depth":5,"seldepth":5,"time":5,"nodes":2863,"nps":572600,"hashfull":0,"score_cp":-1270,"multipv":1},{"pv":["8e8f","8g8f","8c8f","6c5c","8f8h+","6d6a+"],"raw_string":"info depth 6 seldepth 6 time 7 nodes 3956 nps 565142 hashfull 0 score cp -1270 multipv 1 pv 8e8f 8g8f 8c8f 6c5c 8f8h+ 6d6a+","depth":6,"seldepth":6,"time":7,"nodes":3956,"nps":565142,"hashfull":0,"score_cp":-1270,"multipv":1},{"pv":["8e8f","8g8f","8c8f","6c5c","8f8h+","5c4b","3a4b"],"raw_string":"info depth 7 seldepth 7 time 10 nodes 5672 nps 567200 hashfull 0 score cp -1229 multipv 1 pv 8e8f 8g8f 8c8f 6c5c 8f8h+ 5c4b 3a4b","depth":7,"seldepth":7,"time":10,"nodes":5672,"nps":567200,"hashfull":0,"score_cp":-1229,"multipv":1}]}

リンク集

https://www.perplexity.ai/search/zui-jin-terehinojiang-qi-zhong-XMAA9IqlTZegwPdLbx9IfA