Add checkmate/check checking.