edaxSetboard method

void edaxSetboard(
  1. String board
)

Set board from string.

e.g. -W----W--------------------WB------WBB-----W--------------------B.

  • BLACK: B,b,x,X,*
  • WHITE: o,O,w,W
  • EMPTY: -,.

Last char is turn.

Implementation

void edaxSetboard(final String board) {
  final arg = board.toCharPointer();
  _bindings.edax_setboard(arg);
  calloc.free(arg);
}