项目作者: awhillas

项目描述 :
Chess engine written in C++ (W.I.P.)
高级语言: C++
项目地址: git://github.com/awhillas/schach.git
创建时间: 2017-07-19T20:27:30Z
项目社区:https://github.com/awhillas/schach

开源协议:

下载


Setup

OS X

Bazel needs java8 (bug with java9 still)

  1. brew cask install caskroom/versions/java8
  2. brew install bazel

Build instructions

Bazel

  1. bazel build //src:schach

then to run

  1. bazel run //src:schach

or run all the tests

  1. bazel test ... --test_output=errors

Troubleshooting Bazel builds

  • If getting an error that mentions “missing dependency declarations” and your toolchain had an upgrade somewhere i.e. new compiler with new copy of STD lib., try:

    bazel clean —expunge

make

To use the Makefile in the src/ folder.
Ensure you have a recent version of the gnu compiler collection.

  1. cd src
  2. make
  3. ./schach

To clean:

  1. cd src
  2. make clean