added network messages for check and checkmate

prepared code base for implementing rules

implemented castling (without validation)

(0) -10 -3 +3 +10 +30 tip

mercurial