ShogiGUIの連続対局バグを用いて三間飛車定跡を作りました
ほとんどの対局で三間飛車を指します
三間飛車を指させるために使った棋譜と作った定跡を公開します
定跡の方はextendやソフト同士の対抗系の棋譜をthinkしてあるので、
ある程度の質は保証します(どの程度かは知らん)
BookIgnoreRate 的なオプションは0にして、
BookMoves は適当に100くらいにしてもらえれば。
95%くらいで三間飛車を指します。
そうならないときもあります。(相手が定跡を外す手順で来た時に三間飛車を指さないのです...)
定跡の方はmultiPV 3 、深さ28で掘ってます。
16手目までの棋譜を少し増やして定跡に多めに入れました。
少し一工夫して、スピーディーに定跡を掘れるように
三間飛車側の手番のみをdepth深め(28)で思考(評価関数はshinderella評価関数)させて、
1回extendして相手手番になった局面は別ソフト(dolphin,Kristallweizen,shinderella)に
depth浅め(今回はdepth12。MultiPVは3から途中で2に変えた。局面増えすぎて終わらなかったため)
で思考させるという独自手法を用いました。
名前は定跡名より
「GOCHIUSA(ごちうさ) 手法」
とします。
この手法の有効性は知りません。スピーディーで電気代がかかりにくいのが売りですが、
居飛車だと有効な気がしませんね…(最善手が限られてる気がしてる)
振り飛車は相手の指し手が色々あって膨大(個人的な感覚)なので
この手法の方が定跡はヒットしやすくなりますし、いろんなソフトにも強くなれるかと(適当)
深さ28なのはちょっと…電気代が…
後手番kif
https://drive.google.com/file/d/1o2GHQp-_NDS2szdxtdXhDkq7BcShANFs/view?usp=sharing
先手番kif
https://drive.google.com/file/d/1XLmULfLILGAe7rUdxVJGqizCbtusWkgj/view?usp=sharing
ご注文は三間飛車ですか?定跡(dbファイル)
https://drive.google.com/file/d/1Zgi9LwHri1QAU9vQZzd6UUJtX5VShbgl/view?usp=sharing
やねうらおう氏の探索エンジンを使用
from_sfenやthinkでベースの定跡が入ったdbを作って、dbのベースとなる棋譜を
フォルダに入れたうえで以下のコマンドを実行
hash,threads等の数値は好きに変えてください
command 1回目:
usi_hash 9216
threads 16
multipv 3
bookfile book/user_book2.db
makebook extend_tree book/user_book2.db gote.sfen gote_h_hentai.txt black_eval_limit -250 white_evalelimit -250
makebook extend_tree book/user_book2.db gote.sfen gote_d_hentai.txt black_eval_limit -250 white_evalelimit -250
makebook extend_tree book/user_book2.db gote.sfen gote_K_hentai.txt black_eval_limit -250 white_evalelimit -250
makebook extend_tree book/user_book2.db sente.sfen sente_h_hentai.txt black_eval_limit -250 white_evalelimit -250
makebook extend_tree book/user_book2.db sente.sfen sente_d_hentai.txt black_eval_limit -250 white_evalelimit -250
makebook extend_tree book/user_book2.db sente.sfen sente_K_hentai.txt black_eval_limit -250 white_evalelimit -250
まずは、ベース棋譜の課題局面を出力
command 2回目:
usi_hash 9216
threads 16
multipv 3
multipv 2
bookfile hentai_book/user_book2.db
makebook think bw no_file sente_h_hentai.txt hentai_book/a.db startmoves 17 depth 14
makebook merge hentai_book/user_book2.db hentai_book/a.db hentai_book/user_book2.db
makebook extend_tree hentai_book/user_book2.db sente_h_hentai.txt hentai_from_hentai.txt black_eval_limit -250 white_eval_limit -250
evaldir dolphin
bookfile dolphin_book/user_book2.db
makebook think bw no_file sente_d_hentai.txt dolphin_book/a.db startmoves 17 depth 14
makebook merge dolphin_book/user_book2.db dolphin_book/a.db dolphin_book/user_book2.db
makebook extend_tree dolphin_book/user_book2.db sente_d_hentai.txt hentai_from_dolphin.txt black_eval_limit -250 white_eval_limit -250
evaldir Kristallweizen
bookfile Kristallweizen_book/user_book2.db
makebook think bw no_file sente_K_hentai.txt Kristallweizen_book/a.db startmoves 17 depth 14
makebook merge Kristallweizen_book/user_book2.db Kristallweizen_book/a.db Kristallweizen_book/user_book2.db
makebook extend_tree Kristallweizen_book/user_book2.db sente_K_hentai.txt hentai_from_Kristallweizen.txt black_eval_limit -250 white_eval_limit -250
multipv 2
bookfile hentai_book/user_book2.db
makebook think bw gote_h_hentai.txt no_file hentai_book/a.db startmoves 17 depth 14
makebook merge hentai_book/user_book2.db hentai_book/a.db hentai_book/user_book2.db
makebook extend_tree hentai_book/user_book2.db gote_h_hentai.txt gote_hentai_from_hentai.txt black_eval_limit -250 white_eval_limit -250
evaldir dolphin
bookfile dolphin_book/user_book2.db
makebook think bw gote_d_hentai.txt no_file dolphin_book/a.db startmoves 17 depth 14
makebook merge dolphin_book/user_book2.db dolphin_book/a.db dolphin_book/user_book2.db
makebook extend_tree dolphin_book/user_book2.db gote_d_hentai.txt gote_hentai_from_dolphin.txt black_eval_limit -250 white_eval_limit -250
evaldir Kristallweizen
bookfile Kristallweizen_book/user_book2.db
makebook think bw gote_K_hentai.txt no_file Kristallweizen_book/a.db startmoves 17 depth 14
makebook merge Kristallweizen_book/user_book2.db Kristallweizen_book/a.db Kristallweizen_book/user_book2.db
makebook extend_tree Kristallweizen_book/user_book2.db gote_K_hentai.txt gote_hentai_from_Kristallweizen.txt black_eval_limit -250 white_eval_limit -250
相手手番の局面を思考して延長
command 3回目以降:
usi_hash 9216
threads 16
multipv 3
bookfile book/user_book2.db
evaldir eval
bookfile book/user_book2.db
multipv 3
makebook think bw no_file gote_hentai_from_hentai.txt book/a.db startmoves 8 moves 20 depth 28
makebook merge book/user_book2.db book/a.db book/user_book2.db
makebook extend_tree book/user_book2.db gote_hentai_from_hentai.txt gote_h_hentai.txt black_eval_limit -250 white_eval_limit -250
makebook think bw no_file gote_hentai_from_dolphin.txt book/a.db startmoves 8 moves 20 depth 28
makebook merge book/user_book2.db book/a.db book/user_book2.db
makebook extend_tree book/user_book2.db gote_hentai_from_dolphin.txt gote_d_hentai.txt black_eval_limit -250 white_eval_limit -250
makebook think bw no_file gote_hentai_from_Kristallweizen.txt book/a.db startmoves 8 moves 20 depth 28
makebook merge book/user_book2.db book/a.db book/user_book2.db
makebook extend_tree book/user_book2.db gote_hentai_from_Kristallweizen.txt gote_K_hentai.txt black_eval_limit -250 white_eval_limit -250
multipv 2
bookfile hentai_book/user_book2.db
makebook think bw gote_h_hentai.txt no_file hentai_book/a.db startmoves 8 moves 20 depth 14
makebook merge hentai_book/user_book2.db hentai_book/a.db hentai_book/user_book2.db
makebook extend_tree hentai_book/user_book2.db gote_h_hentai.txt gote_hentai_from_hentai.txt black_eval_limit -250 white_eval_limit -250
evaldir dolphin
bookfile dolphin_book/user_book2.db
makebook think bw gote_d_hentai.txt no_file dolphin_book/a.db startmoves 8 moves 20 depth 14
makebook merge dolphin_book/user_book2.db dolphin_book/a.db dolphin_book/user_book2.db
makebook extend_tree dolphin_book/user_book2.db gote_d_hentai.txt gote_hentai_from_dolphin.txt black_eval_limit -250 white_eval_limit -250
evaldir Kristallweizen
bookfile Kristallweizen_book/user_book2.db
makebook think bw gote_K_hentai.txt no_file Kristallweizen_book/a.db startmoves 8 moves 20 depth 14
makebook merge Kristallweizen_book/user_book2.db Kristallweizen_book/a.db Kristallweizen_book/user_book2.db
makebook extend_tree Kristallweizen_book/user_book2.db gote_K_hentai.txt gote_hentai_from_Kristallweizen.txt black_eval_limit -250 white_eval_limit -250
evaldir eval
bookfile book/user_book2.db
multipv 3
makebook think bw hentai_from_hentai.txt no_file book/a.db startmoves 7 moves 20 depth 28
makebook merge book/user_book2.db book/a.db book/user_book2.db
makebook extend_tree book/user_book2.db hentai_from_hentai.txt sente_h_hentai.txt black_eval_limit -230 white_eval_limit -250
makebook think bw hentai_from_dolphin.txt no_file book/a.db startmoves 7 moves 20 depth 28
makebook merge book/user_book2.db book/a.db book/user_book2.db
makebook extend_tree book/user_book2.db hentai_from_dolphin.txt sente_d_hentai.txt black_eval_limit -230 white_eval_limit -250
makebook think bw hentai_from_Kristallweizen.txt no_file book/a.db startmoves 7 moves 20 depth 28
makebook merge book/user_book2.db book/a.db book/user_book2.db
makebook extend_tree book/user_book2.db hentai_from_Kristallweizen.txt sente_K_hentai.txt black_eval_limit -230 white_eval_limit -250
multipv 2
bookfile hentai_book/user_book2.db
makebook think bw no_file sente_h_hentai.txt hentai_book/a.db startmoves 8 moves 20 depth 14
makebook merge hentai_book/user_book2.db hentai_book/a.db hentai_book/user_book2.db
makebook extend_tree hentai_book/user_book2.db sente_h_hentai.txt hentai_from_hentai.txt black_eval_limit -250 white_eval_limit -250
evaldir dolphin
bookfile dolphin_book/user_book2.db
makebook think bw no_file sente_d_hentai.txt dolphin_book/a.db startmoves 8 moves 20 depth 14
makebook merge dolphin_book/user_book2.db dolphin_book/a.db dolphin_book/user_book2.db
makebook extend_tree dolphin_book/user_book2.db sente_d_hentai.txt hentai_from_dolphin.txt black_eval_limit -250 white_eval_limit -250
evaldir Kristallweizen
bookfile Kristallweizen_book/user_book2.db
makebook think bw no_file sente_K_hentai.txt Kristallweizen_book/a.db startmoves 8 moves 20 depth 14
makebook merge Kristallweizen_book/user_book2.db Kristallweizen_book/a.db Kristallweizen_book/user_book2.db
makebook extend_tree Kristallweizen_book/user_book2.db sente_K_hentai.txt hentai_from_Kristallweizen.txt black_eval_limit -250 white_eval_limit -250
extendしてthinkさせてます。endless_extend_treeとかの方でもたぶん行けます。
thinkした局面がそぎ落とされるのがショックで
build_treeは使ってません