Questions tagged [threefold-repetition]

For questions about the threefold repetition rule, which states a player can claim a draw if it's his/her move and a position has appeared / is about to appear which happened before at least twice.

Filter by
Sorted by
Tagged with
6 votes
4 answers
578 views

Does threefold repetition take into account the side to move?

To be more clear, here is a fragment of a game: [FEN "4k3/R7/6r1/3KP3/8/8/8/8 w - - 0 1"] 1. Ra2 Rg5 2. Ra7 Rg6 3. Ra2 Rg5 4. Ra7 Rg6 5. Ra4 Rg5 6. Ra2 From the FIDE Laws of Chess: 5.5.1 d. ...
Wais Kamal's user avatar
  • 3,040
4 votes
4 answers
5k views

Programming three-fold repetition for my chess engine

I'm making a chess engine that has to implement a three-fold repetition as my AI vs AI engine repeats the same moves over and over again (Have a look at my post here - My chess AI makes the same ...
Srikara Krishna Kanduri's user avatar
10 votes
6 answers
2k views

Rules: How does right to castle and en passant get considered for the purpose of calculating a threefold repetition?

I'm writing a chess app, and have some questions regarding the intricacies of the threefold repetition rules. As of 2018, the FIDE handbook has this to say about what constitutes identical positions ...
SarcasticSully's user avatar
6 votes
3 answers
667 views

What's the maximum number of moves that can result in a threefold repetition from an arbitrary position?

Assume that the fifty-move rule does not require a player to claim a draw. Instead, the game is automatically declared a draw if no pawns have been moved and no pieces have been captured in the last ...
Aadit M Shah's user avatar
6 votes
1 answer
324 views

A New Year's Math Riddle

Here's a fun and clean riddle for the New Year! I found the material for it on Krabbe's site. I will provide the link when it is solved. How many times can this position be repeated, with both sides ...
Rewan Demontay's user avatar
3 votes
2 answers
338 views

Najdorf threefold repition

In the Sicilian Najdorf there is a well known line which ends in threefold repition (if both players want). [Event "NN"] [ECO "B90"] [Opening "Sicilian Defense: Najdorf Variation, English Attack, ...
user1583209's user avatar
  • 20.8k