experimental async input for single machine mode

fixed checkmate and completed implementation (more testing is still advised)

NEED TESTING: implemented check and checkmate - TODO: avoid checkmate by moving another piece in between

moved checkmate and stalemate flags to gamestate

introduced single machine mode

implemented king

implemented queen

introduced game state structure

improved network performance

implemented rook + some fixes

(0) -10 +10 tip

mercurial