facebookresearch / darkforestGo

DarkForest, the Facebook Go engine.
Other
2.1k stars 324 forks source link

Problem in run_cmds? #41

Open kunc01 opened 6 years ago

kunc01 commented 6 years ago

When I try to write a script for run_cmds, I find g and genmove can only run once, then the program will exit. Other commands don't have this problem. In cnnPlayerV2Framework.lua, line 664, g or genmove will return the "win_rate"(between 0 and 1), and in line 339, win_rate is read as quit, thus always return true and exit. When I delete the "win_rate" in line 664, it seems worked fine.