My guess is that they have a wheel that they spin and wherever it lands determines the breed.  They have to spin it twice to get both sides of the family tree.  I think an Ouija board would probably give better results!!  :-)