From 560daefb01639fe04c185756051b9b9bdb0b57ef Mon Sep 17 00:00:00 2001 From: fsmosca Date: Mon, 5 Apr 2021 13:31:49 +0800 Subject: [PATCH] Update position.h * Add is_fifty_move_draw() and is_three_fold_repetition for gensfen() --- src/position.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/position.h b/src/position.h index e7513eb1..fe5be374 100644 --- a/src/position.h +++ b/src/position.h @@ -161,6 +161,8 @@ public: bool is_chess960() const; Thread* this_thread() const; bool is_draw(int ply) const; + bool is_fifty_move_draw() const; + bool is_three_fold_repetition() const; bool has_game_cycle(int ply) const; bool has_repeated() const; int rule50_count() const;