Skip to main content

A collection of modules that facilitate cardplay in the BfG environment.

Project description

Version History

Version 1.0.4 20 Jun 2023

  1. xxx

Version 1.0.3 11 May 2023

  1. Correct manager.suit_to_develop

Version 1.0.2 08 Mar 2023

  1. Fix dummy long suit on first lead
  2. Stop using T as HiLo signal

Version 1.0.1 10 Feb 2023

  1. Bug fixes in suit selection if no cards

Version 1.0.0 02 Feb 2023

  1. Complete refactor: major simplification of long methods and functions
  2. Module reorganisation

Version 0.0.40 - 21 Jan 2023

Check and repair opening lead suit and card.


Version 0.0.39 - 17 Jan 2023

SecondSeatDefender check value of card when following suit Add "defending slam" to SUIT_SELECTION_REASON Rewrite defend against slam in opening_lead_suit


Version 0.0.38 - 05 Jan 2023

Bug in dashboard losers: get_losers


Version 0.0.36 - 04 Jan 2023

Bug in dashboard losers


Version 0.0.35 - 04 Jan 2023

Check for entries before allowing ruff in short hand


Version 0.0.34 - 31 Dec 2022

suit.name in opening lead suit - best of poor suits


Version 0.0.33 - 24 Nov 2022 suit.name in opening lead suit third seat defender stop throwing high card on partner's winner


Version 0.0.32 - 5 Jul 2022

Modifications for BfG-Netlify4


Version 0.0.31 - 6 Apr 2022

Quote missing in dashboard


Version 0.0.30 - 6 Apr 2022

downgrade to Python 3.7.12 RadioFlyer


Version 0.0.29 - 5 Feb 2022

General play improvements


Version 0.0.28 - 23 Dec 2021

Short suit seat bug in player


Version 0.0.27 - 23 Dec 2021

General play improvements


Version 0.0.26 - 22 Dec 2021

Linting


Version 0.0.24 - 20 Dec 2021

General play improvements


Version 0.0.23 - 26 Nov 2021

General play improvements


Version 0.0.22 - 21 Nov 2021

General play improvements


Version 0.0.21 - 8 Nov 2021

logger.py updated (bug in parameters)


Version 0.0.20 - 8 Nov 2021

logger.py updated


Version 0.0.19 - 8 Nov 2021

Major revision all modules


Version 0.0.18 - 25 Oct 2021

Added logger.py


Version 0.0.17 - 25 Oct 2021

Mainly first_seat_declarer_nt


Version 0.0.16 - 7 Oct 2021

Remove print statement in first_seat_declarer.py


Version 0.0.12 - 2 Oct 2021

Return suggest card even if trick has 4 cards in suggested_card.py


Version 0.0.11 - 1 Oct 2021

Expose suggested_card in init.py


Version 0.0.10 - 29 Sept 2021

Progress in all modules


Version 0.0.9 - 12 Sept 2021

Seat play works for suit contracts - initial


Version 0.0.8 - 08 Sept 2021

Start all seat play - functional


Version 0.0.7 - 21 Aug 2021

Apply type notation


Version 0.0.6 - 21 Aug 2021

Tidy up and complete opening_lead based on Klinger's Better Card Play


Version 0.0.5 - 16 Aug 2021

Add default suit to _select_suit_for_informed_nt_contract


Version 0.0.4 - 27 July 2021

Improve opening leads per Klinger


Version 0.0.3 - 17 July 2021

Expose bfgcardplay.source.opening_lead in init.py


Version 0.0.2 - 11 July 2021

Remove board.contract = Contract(auction=board.auction) from opening_lead_suit


Version 0.0.1 - 6 July 2021

Tests from Klinger Better Card Play


Version 0.0.0 - 3 July 2021

Created


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bfgcardplay-1.0.4.tar.gz (51.8 kB view hashes)

Uploaded Source

Built Distribution

bfgcardplay-1.0.4-py3-none-any.whl (68.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page