In reply to Bob Bodily.

You are simulating a different game in which there is one coin and Alice and Bob use the same sequence. For the game in this article, Alice flips her coin and counts until she sees HT. Bob flips his coin and counts how many to see HH. They then compare the number of tosses.