学习DarkForestGO的同时,用CPP调用源程序写了一个DEMO。原来程序是用Lua+C的。 darkforestGo地址: https://github.com/facebookresearch/darkforestGo想要了解更多关于linux的知识可以去Linux 就该这么学看看。board模块 官方说明:./board Things about board and its evaluations. Board data structure and different playout policy.
方法/步骤
1
检查某个位置是否可以走子 TryPlay
2
在某个位置放置棋子 Play
3
获得棋盘上所有棋子信息 GetAllStones(走子之后,有可能要提子,这个函数是提子之后所有棋子信息)
4
检查成绩 GetFastScore
上一篇:买茶的几大禁忌,请牢记!
下一篇:golang如何实现负载均衡