Source code of zebra (core code of wzebra)

Source: Internet
Author: User

Zebra'sSource codeGunnar andsson has published some core information on the Internet.Code(I believe not all ^ --- ^)

Notice: http://games.groups.yahoo.com/group/wzebra/message/22

Domestic users can download the source code here (download source code here) http://www.othello.cn/bbs/attachment.php? Aid = 7702.

I have re-compiled the source code. The following is the runtime:

The source code is written in C language. The author seems to have compiled it using GCC in Linux. I use devc ++ and winxpsp2.

The rest are under research ....

2005.4.14:

Compile the source code in VC. net7.0 and pass it smoothly.
1. The specific project Changes in Dev C ++ include:
1. Rename thorop. C to thorop. h;
②. Create a separate project (as a static library) to compile the zlib1.13 source file, generate the zlib. A library file, and remove the minigzip. C, maketree. C, and example. c files during compilation;
③. Add the zlib. A library to the zebra Project Properties> parameter and add the zlib113 path in the included file directory;
2. the change in VC ++ 7.0 is basically the above, and zebra is also required. change strcasecmp in C to strcmp; Modify osfbook. in C, the merge_binary_database function puts the time (& start_time) sentence after the defined local variable;
The booktool must be removed during compilation of the two projects. c, enddev. c, practice. c, scrzebra. c, tune8dbs. only zebra is left in C5 files. C is a main file (because the mian function is defined in these files) and needs to be compiled separately.

2005.4.18:

ExplorationProgramObserve the information recorded in the zebra. Log File, modify the display. C, and add the statement before fputs ("/N", stream) in the display_optimal_line function of row 279.

Printf ("% s: % C/N", white_prompt, to_square (Pv [0] [0]); // display the current best step in the console window

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.