dominicprice / endplay

A suite of tools for generation and analysis of bridge deals. Read the documentation at https://endplay.readthedocs.io
MIT License
21 stars 5 forks source link

Grand slam bonus non vulnerable is wrong #34

Closed ThorvaldAagaard closed 4 months ago

ThorvaldAagaard commented 5 months ago

In contract.py this should be corrected

image

Can be seen at: https://en.wikipedia.org/wiki/Bridge_scoring

image

tameware commented 4 months ago

Nice catch! test_scores() should add a number of cases, including minor and major slams, vul and nv, making undoubled, doubled, and redoubled.

dominicprice commented 4 months ago

fix released in 0.5.1