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

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

fix regression: pawns cannot block check threats

fix regression: missing promotion when simulating threats

fix bug when parsing checkmate indicator

major refactoring of rules API

(0) -100 -30 -10 -8 tip

mercurial