in_draw property

bool in_draw

Implementation

bool get in_draw {
  return half_moves >= 100 ||
      in_stalemate ||
      insufficient_material ||
      in_threefold_repetition;
}