Closed zhouqiw closed 5 years ago
hi,
you can start the game at a custom start position :
use :
--init_moves
(Initialize Go board with init_moves.) type: string default: ""
you can find the state of the previous game in :
[16812] stderr: I0116 18:21:23.238700 16812 mcts_engine.cc:152] Move: dp,zz,qe,zz,dd,qp,zz,qg,zz,pc,oq,pn,od,pd,pe,oe,of,ne,pg,md,pi,cc,dc,cd,cf,ce,de,bf,cb,bb,be,ae,bg,bd,lc,nf,nc,mc,mb,nb,ob,lb,na,kc,oc,pb,qd,rb,rc,pa,qc,qb,sb,la,ra,df,cg,ef,gd,dj,cj,ee,fc,ci,dk,ei,dh,di,ck,bj,eh,fh,fg,eg,ld,le,kd,jb,gh,fi,ff,ch,jd,ma,oa,nb,qa,hc,ie,gb,fe,ed,ec
for example :
--init_moves="dp,zz,qe,zz,dd,qp,zz,qg,zz,pc,oq,pn,od,pd,pe,oe,of,ne,pg,md,pi"
you can see a help of possible commands here : https://github.com/wonderingabout/PhoenixGo/blob/faqv2-bazel-master/docs/mcts-main-help.md
@zhouqiw
as you can see it works
support undo
command in this commit.
i will add that to the documentation in a new PR, i hope this will be useful (at least its faster than copy paste list of all previous moves and start a new game) @wodesuck
added in #90
每次悔棋时都要重新从第一步开始算胜率,导致效率不高,导致出结果较慢,请改进