Skip to content

Releases: forrestrice/bridge-bots

bridgebots core v0.0.12

19 Apr 06:44
e2495eb

Choose a tag to compare

[0.0.12] - 2023-4-18

Added

  • parse_handviewer_url to the lin module which parses a BBO handviewer URL to a Bridgebots DealRecord

bridgebots core v0.0.11

25 Mar 19:30
83396b5

Choose a tag to compare

[0.0.11] - 2023-3-25

Added

  • parse_lin_str to parse a string instead of a LIN file

Changed

  • build_lin_str now takes an enum type of LIN to build rather than a string
  • Upgraded marshmallow and fixed warnings

bridgebots_tools v0.0.5

06 Mar 03:48
9e89f64

Choose a tag to compare

[0.0.5] - 2023-03-03

Changed

  • Fixed a bug in the practice tool that caused headers to be written to the csv in append mode

[0.0.4] - 2022-11-11

Changed

  • Added all csv report output fields to the deal practice tool

bridgebots_tools v0.0.3

04 Apr 00:57
da997f3

Choose a tag to compare

[0.0.3] - 2022-4-03

Added

  • New tool compare_contracts_csv_report for comparing sets of contracts' performance.
  • New tool practice_deals for creating sets of practice deals as a LIN file with accompanying links to see how it was played by others.
  • New fields in csv output. deal_hash uniquely identifies a deal, trump_fit and trump_hcp provide information about trump strength.

Changed

  • Refactored much of the logic in csv_report to be shared with compare_contracts_csv_report

bridgebots_tools v0.0.2

11 Feb 06:53
b2605e6

Choose a tag to compare

[0.0.2] - 2022-2-10

Added

  • Scores for declarer and defender. HCP and Shape for declarer, dummy, lho, and rho.

Changed

  • CSV writer now ignores extra keys. This means output columns can now be reduced by commenting out lines in the _CSV_HEADERS list.

bridgebots core v0.0.10 and bridgebots_tools v0.0.1

30 Jan 06:54
2545335

Choose a tag to compare

Core

[0.0.10] - 2022-1-29

Added

  • board_name is now an optional parameter of board_record. Added board name parsing to the lin module.

Changed

  • DealRecord is now a frozen dataclass like other record classes.
  • Fixed a bug where the last record in a multi-board LIN file would sometimes be ignored.

Tools

[0.0.1] - 2022-1-29

Added

  • First release of bridgebots_tools. Created csv_report which can covert files or directories of LIN and PBN records into a CSV report. See the Readme for details.

bridgebots core v0.0.9

17 Jan 07:33
73bca44

Choose a tag to compare

[0.0.9] - 2022-1-16

Added

  • parse_pbn now handles files which used shared deals for multiple board records.
  • parse_pbn now handles files that end with a single newline.

bridgebots core v0.0.8

16 Jan 01:37
1ac2c98

Choose a tag to compare

[0.0.8] - 2022-1-15

Added

Direction.offset Can be used to get the Direction an arbitrary number of steps away

Changed

  • Bridgebots now supports python 3.7! Several small backwards compatibility changes were made.
  • Fixed several edge case bugs for LIN parsing. Improved error messages.
  • BiddingSuit.NO_TRUMP.abbreviation() now returns NT by default. N can be returned by setting the flag verbose_no_trump=False

bridgebots core v0.0.7

28 Nov 03:55
2bce475

Choose a tag to compare

[0.0.7] - 2021-11-27

Added

  • Utility method calculate_score to compute the scoring of a hand
  • Contract dataclass for programmatic interaction with contracts Issue #6

Changed

  • Methods which take each suit as an argument specify arguments in descending suit order (Spades, Hearts, Diamonds, Clubs) to match common convention. Issue #7
  • Consolidated all submodule imports under __init__.py. Users can now simply import bridgebots. Issue #8
  • All Record classes (BoardRecord, DealRecord, etc) now implemented as dataclasses. Issue #9

bridgebots core v0.0.6

07 Sep 07:00
650ab67

Choose a tag to compare

Bridgebots core is ready for external use! Package published to pypi.