has to be adapted to java board creation in board_enable_feature_or_gamestate.m