Go open-source software DarkForestGo

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.