Logic for tic tac board complete