MikeC2 Posted March 11, 2010 Report Share Posted March 11, 2010 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? tiamike Quote Link to comment Share on other sites More sharing options...
0 carbon Posted March 14, 2010 Report Share Posted March 14, 2010 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)>20majorsNS = shape(north, 5xxx + x5xx) or shape(south, 5xxx + x5xx) spadeEW = spades(west)+spades(east)>9diamondEW = diamonds(west)+diamonds(east)>9heartEW = hearts(west)+hearts(east)>9clubEW = clubs(west)+clubs(east)>9competition = clubEW or heartEW or diamondEW or spadeEW bigE and bigW and bigN and bigS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.