Home

Awesome

Build

Background

This directory tree contains the NDK build scripts and all files that were modified or added on base of the orignal GNU Go 3.8 sources. To build the android native shared library take the original GNU Go 3.8 sources and replace/add the corresponding files with the files found here. Then generate the pattern files with mkpat.

The changes found here are unfortunally a sad hack. A later version should implement usage of the GTP proocol over sockets (which didn't work at first attempt via JNI). First tries can still be found in interfac/java_bridge.c, but that implementation had issues with buffering of the 'from_gnugo_stream'.

FYI: create patterns in build process https://github.com/ligi/gobandroid-ai-gnugo/issues/1