new chess code for networking