Skip to content

Commit

Permalink
Implement par().
Browse files Browse the repository at this point in the history
  • Loading branch information
palamau authored and anntzer committed Apr 9, 2024
1 parent ab4eb3f commit 4cb8fef
Show file tree
Hide file tree
Showing 2 changed files with 572 additions and 2 deletions.
Loading

1 comment on commit 4cb8fef

@palamau
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current implementation has a function called par() which is slightly different than the original parscore(). The current implementation returns a list of par contracts whereas the original parscore() returned a single contract returning the par NT contract or the contract with the highest fit. It will be nice to also implement the original parscore() - an example usecase is one where we want to display a deal and the par contract. In this scenario it would be preferable that the par contract be in a 9 card fit rather than (say) a 4-2 fit that makes becuase of a very fortunate lie of cards. Besides it is also more failthful to the orignal implementation

Please sign in to comment.