Join Bridge Winners
Pairing hands in BBO hand generator

I'd like to be able to pair North and South hands when I generate hands in BBO, but I haven't been able to figure out how. I'm hoping someone can help.

For example, if I wanted to generate hands that were limit raises, I would want North to have say 12+ HCP with 5 hearts or 5 spades and South to have 10-12 HCP and 4 cards in opener's major. I don't want "North has 5 hearts or 5 spades and South has 4 hearts or 4 spades,"because I'll get hands where North has 5 spades and South has 4 hearts and that's not the limit raise I want.I want to pair North hands with 5 spades with South hands with 4 spades and North hands with 5 hearts with South hands with 4 hearts.

So I want the code to basically say (North has 12+ HCP with 5 spades and South has 10-12 HCP and 4+ spades) OR (North has 12+HCP with 5 hearts and South has 10-12 HCP and 4+ hearts).

20 Comments
Getting Comments... loading...
.

Bottom Home Top