Giter Club home page Giter Club logo

saycbridge's People

Contributors

abarth avatar abortz avatar eseidel avatar weisongye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

saycbridge's Issues

saycbridge.com needs a landscape-aware layout for phones

saycbridge.com needs a landscape-aware layout for phones

From a user:
"When I'm using this app on my smartphone turn it into the landscape mode and I have to scroll to see all of the screen. If the pass button was put next to the 1 club did it would not waste what half of an inch of the screen at its narrowest dimension.
Since the screen is trapped in this widest dimension(landscape) how about putting all of the bid buttons on the left side and the buttons for suggested bid etc on the right? That way we wouldn't have to scroll down.
Also in case is where we pass we don't get the prompt that says our bid matches Autobidder's bid."

z3b should make a minimum suited rebid with 12hcp instead of 2N

http://z3b.saycbridge.com/bid/3-e3a74c1b2cf335e52ba1e1544a:1H,P,2C,P,2N,P,4D,P,P,P#

Yeah. That looks all wrong. The bot probably should be suggesting that you bid 2H as a minimum bid instead of 2N which is slightly stronger.

Even if you bid 2N, jumping to 4D seems wrong. Yes, it's a valid jump-shift, but probably doesn't apply after a NT bid like that. Jumping to 3N would have made more sense (slam is remote at 32 max points between you and no fit).

I also suspect that 2-over-1 would probably handle this better (the bot doesn't know that system yet) since part of how this auction got into that trouble is that the 2C bid N made has such a huge range.

font size on saycbridge.com is too small for tablet play

Please enlarge the size of the font for the saycbridge site. I play it on my tablet and it is almost impossible to see the "hand" that is dealt. I would love to load it onto my phone, but I know I could never make out the cards in the hand. Thank you for your consideration.

Don't need many so honors to overcall

In competitive.py, line 103 there is a shared implied constraint of 3 of top 5 honors for a suited overcall. This is bogus and causes problems with hands like:

http://www.saycbridge.com/bid/11-93875b35e6c6ca629d2c4383dc:P,1D,P,P,1H,1S,1N,P,P,P

There is no way this should be passed out by either north or south as the autobidder suggests. A sixth trump is every bit as good as another honor. Maybe the rule should be 3 of 5 or 2 of 3 with 5, or any 6+ that isn't already a preempt? Unfortunately I don't understand the engine enough to know how to code that.

North going to 1NT over west's raise to 1S is intriguing. It seems like the kind of bid only a computer could make but it seems to work well here (-50 vs. -80).

Doubling conventional bids confuses autobidder

http://www.saycbridge.com/bid/8-85d5c9c234b8299f16c7ce2f92:P,1D,2N,X,P,P,P
In this case South's double shows a fair amount of points. I suppose advancer is allowed to pass to show indifference to the two options, but then overcaller has to bid. In this case overcaller can bid his 6-card suit.

http://www.saycbridge.com/bid/9-bb67a90390852d8fc17c974ec6:P,P,1C,2H,P,3C,X,P,P,P
In this case South's double showed rebiddable clubs. Clearly someone has to bid again.

Problem with take() in bidder.py

Greetings!
I'm trying to use the Bidder module (z3b version) in your repository, but encountered the following problem.
I first created a bidder using a BidderFactory

self.bidder = BidderFactory.default_bidder()

then

self.bidder.find_call_for(hand, call_history)

which raised the following exception

File "C:\saycbridge-master\src\z3b\bidder.py", line 207, in __exit__
    _solver_pool.restore(previous_history._solver.take())
AttributeError: 'functools._lru_cache_wrapper' object has no attribute 'take'

It seems that the _solver is missing a take() method. I'm wondering what's the expected behavior of take() here. Is there a possible workaround? Thanks.

Strong minor logic

http://www.saycbridge.com/bid/6-243fb09518dc2755ae3268faf4:P,P,P,2N,P,3H,P,3S,P,3N,P,P,P
Autobidder has multiple issues here.

  1. 20-21 points should open 2NT. I guess the issue is that there are two doubletons? I would discount this because they are both stopped.
    1b. Transfers are on over 2NT. With 5 spades, responder transfers and then bids 3NT to provide a choice of games. Autobidder ignored the transfer and passed!
  2. If the 2NT opening is wrong and 1D is right...with two stoppers in each of the unbid suits, opener should jump in NT, not to the other minor.
  3. Responder cannot be expected to bid 3NT with no stopper in the unbid suit. Over 3D responder must support clubs to show a 5-3 fit. Whether it is 4C or 5C I'm not sure, but with an absolute maximum, opener should go on to game in clubs after 4C.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.