Compiler: should support c++14.
Other: for make merge
, see this.
System: Been tested on Windows, MacOS, most of Linux distribution.
(Tested under the lastest version at 2022/06)
First clone this repo and go into it.
git clone https://github.com/KohakuBlueleaf/KohakuGomoku.git
cd KohakuGomoku
And then run make command.
make all
If you only want to build some specific policy, use this.
make main #necessary!!!
make <POLICY>
for example
make alphabeta #will create player_alphabeta.exe at build/ folder
Finally
cd build
./main ./player_<POLICY> ./player_<POLICY>
Make sure you have installed cpp-merge
If you want to merge all cpp/hpp file into one file. You can use
make merge
to build all merge file.
And if you only want to merge specific target, use below command.
make merge_<target>