mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 11:06:58 +08:00
Update position.h
* Add is_fifty_move_draw() and is_three_fold_repetition for gensfen()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user