One of the nice things about the online interface is the ability for a teacher to occupy more than one seat.
One of the nice things about the downloaded program and the partnership bidding table is the ability to save constraints for bidding practice.
Is there a way to setup and save constraints, or better yet, import constraints from that folder on my computer to the online teaching table?
tia
mike
Page 1 of 1
Teaching Table Importing Constraints
#2
Posted 2010-March-13, 21:36
Use "Deal Source" and save your constraints in a text editor and paste in, eg:
bigN = shape(north, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
bigS = shape(south, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
bigE = shape(east, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
bigW = shape(west, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
solidN = (hascard(north, AS) and hascard(north, KS) and hascard(north, QS) and hascard(north, JS) and hascard(north, TS) ) or (hascard(north, AH) and hascard(north, KH) and hascard(north, QH) and hascard(north, JH) and hascard(north, TH) ) (hascard(north, AD) and hascard(north, KD) and hascard(north, QD) and hascard(north, JD) and hascard(north, TD) ) or (hascard(north, AC) and hascard(north, KC) and hascard(north, QC) and hascard(north, JC) and hascard(north, TC) )
solidS = (hascard(south, AS) and hascard(south, KS) and hascard(south, QS) and hascard(south, JS) and hascard(south, TS) ) or (hascard(south, AH) and hascard(south, KH) and hascard(south, QH) and hascard(south, JH) and hascard(south, TH) ) (hascard(south, AD) and hascard(south, KD) and hascard(south, QD) and hascard(south, JD) and hascard(south, TD) ) or (hascard(south, AC) and hascard(south, KC) and hascard(south, QC) and hascard(south, JC) and hascard(south, TC) )
longN = shape(north, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 012x + any 011x + any 003x + any 002x)
longS = shape(south, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 012x + any 011x + any 003x + any 002x)
twoN = shape(north, any 55xx + any 56xx + any 57xx + any 58xx + any 66xx + any 67xx)
twoS = shape(south, any 55xx + any 56xx + any 57xx + any 58xx + any 66xx + any 67xx)
highNS = hcp(south)+hcp(north)>20
majorsNS = shape(north, 5xxx + x5xx) or shape(south, 5xxx + x5xx)
spadeEW = spades(west)+spades(east)>9
diamondEW = diamonds(west)+diamonds(east)>9
heartEW = hearts(west)+hearts(east)>9
clubEW = clubs(west)+clubs(east)>9
competition = clubEW or heartEW or diamondEW or spadeEW
bigE and bigW and bigN and bigS
bigN = shape(north, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
bigS = shape(south, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
bigE = shape(east, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
bigW = shape(west, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 00xx + any 01xx + any 11xx + any 02xx + any 12xx + any 03xx )
solidN = (hascard(north, AS) and hascard(north, KS) and hascard(north, QS) and hascard(north, JS) and hascard(north, TS) ) or (hascard(north, AH) and hascard(north, KH) and hascard(north, QH) and hascard(north, JH) and hascard(north, TH) ) (hascard(north, AD) and hascard(north, KD) and hascard(north, QD) and hascard(north, JD) and hascard(north, TD) ) or (hascard(north, AC) and hascard(north, KC) and hascard(north, QC) and hascard(north, JC) and hascard(north, TC) )
solidS = (hascard(south, AS) and hascard(south, KS) and hascard(south, QS) and hascard(south, JS) and hascard(south, TS) ) or (hascard(south, AH) and hascard(south, KH) and hascard(south, QH) and hascard(south, JH) and hascard(south, TH) ) (hascard(south, AD) and hascard(south, KD) and hascard(south, QD) and hascard(south, JD) and hascard(south, TD) ) or (hascard(south, AC) and hascard(south, KC) and hascard(south, QC) and hascard(south, JC) and hascard(south, TC) )
longN = shape(north, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 012x + any 011x + any 003x + any 002x)
longS = shape(south, any 6xxx + any 7xxx + any 8xxx + any 9xxx + any 012x + any 011x + any 003x + any 002x)
twoN = shape(north, any 55xx + any 56xx + any 57xx + any 58xx + any 66xx + any 67xx)
twoS = shape(south, any 55xx + any 56xx + any 57xx + any 58xx + any 66xx + any 67xx)
highNS = hcp(south)+hcp(north)>20
majorsNS = shape(north, 5xxx + x5xx) or shape(south, 5xxx + x5xx)
spadeEW = spades(west)+spades(east)>9
diamondEW = diamonds(west)+diamonds(east)>9
heartEW = hearts(west)+hearts(east)>9
clubEW = clubs(west)+clubs(east)>9
competition = clubEW or heartEW or diamondEW or spadeEW
bigE and bigW and bigN and bigS
Page 1 of 1

Help