rename Row to Rank

increase type safety + add backwards compatibility including C99

fix how agreeing on a draw works

complete documentation of the network protocol

remove unnecessary fen.h include in main.c

rework network message codes + add NETCODE_ACCEPT_MOVE

change how a game is ended in multiplayer

add test data for games that are one move away from completion

fix regression in network play: we have to transmit capture/check(mate) flags

fix wrong error code when chess rules are violated

fix byte-order problem in GameInfo and change decline reason to one byte

fix missing byte-order conversion in ntoh_move() and change protocol byte order to little-endian

start fixing the network protocol

simplify how the elapsed move time is recorded

fix that client is not sending netcode version back on version mismatch

implement draw due to insufficient material

add create_pgn() function and use it in test-real-pgn

fix FEN being off by one

split DECLINE message into DECLINE and DECLINE_MOVE

allow continuing resigned or (actively) drawn games

add info text in game review for threefold repetition

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

fix regression: pawns cannot block check threats

fix regression: missing promotion when simulating threats

(0) -100 -50 -30 tip

mercurial