Examples of makeGameForcing()


Examples of org.gnubridge.core.bidding.Bid.makeGameForcing()

  @Override
  protected Bid prepareBid() {
    Bid result = null;
    if (pc.getCombinedPoints() >= 17 && hand.getSuitLength(highestOver3) >= 5) {
      result = new Bid(jumpPartnersBid(), highestOver3);
      result.makeGameForcing();
    } else {
      result = new Bid(1, highestOver3);
      if (!result.greaterThan(partnersOpeningBid) && pc.getCombinedPoints() >= 11) {
        result = new Bid(2, highestOver3);
      }
View Full Code Here

Examples of org.gnubridge.core.bidding.Bid.makeGameForcing()

  protected Bid prepareBid() {
    PointCalculator calculator = new PointCalculator(hand);
    int minimumBid = getMinimumBidInSuit(unbidSuit);
    if (calculator.getCombinedPoints() >= 19) {
      Bid bid = new Bid(minimumBid + 1, unbidSuit);
      bid.makeGameForcing();
      return bid;
    }
    if ((minimumBid == 2 && !calculator.isBalanced())) {
      if (calculator.getCombinedPoints() >= 16 || unbidSuit.isLowerRankThan(opening.getTrump())) {
        return new Bid(minimumBid, unbidSuit);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.