move tic tac toe gameplay into its own file and test next move through protocol