fix how agreeing on a draw works default tip

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

(0) -100 -10 tip

mercurial