add socket to assign viewer and chess player