Code Monkey home page Code Monkey logo

chis's People

Contributors

chisbread avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chis's Issues

piskvork调用出现问题

编译工程后得到的可执行文件,用piskvork调用貌似不走子...不知道是不是我使用方法错误
但您在gomocup上的CHIS程序是可用的。

您好,我在编译项目的时候遇到了一些问题

我这边是win7+vs2012,无奈您的项目是13的,于是我就手动改了一下项目文件;
不过之后vs还是跟我报错,说有语法错误:
`struct config {
size_t SIZE = 15;//棋盘大小
int RULE = 0;//规则类型(只支持freestyle
//time ms
time_t search_time = 29900;//一次搜索时间
time_t timeout_match = 180000;//总搜索时间上限
time_t time_left = 180000;//剩下的时间

	size_t hash_max_size = 1024*100;//100MB
	size_t search_depth = 8;
};`

比如上面这段是在chis_type.h中的
我平常主要使用Java和C#,所以对C++不甚了解——但是在声明的同时直接赋值真的可以吗?
如果您确实就是这样也可以编译,那应该就是我的ide问题了;
如果确实这块有问题的话,希望您能告诉我改正方法

a problem to compile in linux

try to compile in linux using g++
the following line has error(in chis_move.cpp)

std::swap(moves,
b.get_turn() == BLK ?
b.get_pruned_moves_black_forvct() :
b.get_pruned_moves_white_forvct());

it try to swap variable and return of function. does it really get through the visual c++ compiler?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.