tic tac toe game in the terminal