tcp terminal tic tac toe