Tic tac toe with terminal UI