Go open-source software DarkForestGo
While learning about DarkForestGO, I used CPP to call the source program and write a DEMO. The original program uses Lua + C.
DarkforestGo address:
Https://github.com/facebookresearch/darkforestGo
Official description of a board module:
- ./BoardThings about board and its evaluations. Board data structure and different playout policy.
Notes:
Chessboard
1. Check whether TryPlay can be used in a certain position.
2. Place the Play part in a certain position
3. Get the information of all pawns on the board. GetAllStones
(After the child is removed, it is possible to raise the child. This function is the information of all the chess pieces after the child is removed)
4. Check the score for GetFastScore
Source code: https://github.com/sxcong/darkforestGo_CPP
The source program is compiled in VC2008 and VC2010. There is no project file here. You can use VC to create a new project and add the source code to compile it for testing. Currently, only the Board module is tested.