Nobody wins this one.
You play X and always go first. Easy plays mostly at random, Medium is sharper, Hard is full minimax — unbeatable. Tap any empty cell to place your mark.