Tic Tac Toe terminal game