Coder Social home page Coder Social logo

Comments (6)

wodesuck avatar wodesuck commented on June 8, 2024 1

support undo command in this commit.

from phoenixgo.

zhouqiw avatar zhouqiw commented on June 8, 2024

每次悔棋时都要重新从第一步开始算胜率,导致效率不高,导致出结果较慢,请改进

from phoenixgo.

wonderingabout avatar wonderingabout commented on June 8, 2024

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

from phoenixgo.

wonderingabout avatar wonderingabout commented on June 8, 2024

@zhouqiw

as you can see it works

initmove

from phoenixgo.

wonderingabout avatar wonderingabout commented on June 8, 2024

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

from phoenixgo.

wonderingabout avatar wonderingabout commented on June 8, 2024

added in #90

from phoenixgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.