chess client-server communication