implement first naive draw by threefold repetition

withdraw requirement that PGN parser should work on uninitialized state

add expected game result to test-real-pgn suite

implements stalemate detection + fixes missing const qualifier in new *_moves[_allowed] API

add functions to list the possible moves for each piece

fix unnecessary disambiguation + simplify get_real_threats() code

fix regression: pieces could not threaten fields when pinned

(0) -100 -30 -10 -7 +7 +10 +30 tip

mercurial