Skip to main content

A collection of modules that facilitate cardplay in the BfG

Project description

Version History

Version 1.2.2 21 Jun 2024

  1. Align package and env

Version 1.2.1 20 Jun 2024

  1. Undo refactor of modules

Version 1.2.0 19 Jun 2024

  1. Major refactor of modules
  2. Some cardplay improved

Version 1.1.1 15 April 2024

  1. Modifications to first_player defender and third_player_defender

Version 1.1.0 7 Jan 2024

  1. Major refactor

Version 1.0.15 18 Sep 2023

  1. Bug fixes after blitz

Version 1.0.14 21 Jul 2023

  1. Cardplay second seat declarer

Version 1.0.13 21 Jul 2023

  1. Massive refactor

Version 1.0.12 12 Jul 2023

  1. Refactor third_seat_defender
  2. Improve card play

Version 1.0.11 11 Jul 2023

  1. Improvements to cardplay

Version 1.0.10 30 Jun 2023

  1. Add test data to build

Version 1.0.9 29 Jun 2023

  1. Clear Build directories

Version 1.0.8 29 Jun 2023

  1. Linting

Version 1.0.7 29 Jun 2023

  1. General modifications and enhanced testing

Version 1.0.6 26 Jun 2023

  1. xxx

Version 1.0.5 20 Jun 2023

  1. Fix bug in opening suit if void in suit

Version 1.0.4 20 Jun 2023

  1. Remove cprint item an comment out code

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.2.2.tar.gz (63.3 kB view details)

Uploaded Source

Built Distribution

bfgcardplay-1.2.2-py3-none-any.whl (86.5 kB view details)

Uploaded Python 3

File details

Details for the file bfgcardplay-1.2.2.tar.gz.

File metadata

  • Download URL: bfgcardplay-1.2.2.tar.gz
  • Upload date:
  • Size: 63.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for bfgcardplay-1.2.2.tar.gz
Algorithm Hash digest
SHA256 0f15b990b2ad3929b9465f93a24eb6c0a08eac3567d1f2c3762bf384906a3ee6
MD5 8feb0f2a57f23560061274775be236ba
BLAKE2b-256 52a63f231cd2d6c0c9fa5d53831d49f0a4f0cd2a42d5d5f23be0343147e689ac

See more details on using hashes here.

File details

Details for the file bfgcardplay-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: bfgcardplay-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for bfgcardplay-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 156665f2c7baf250970c862764dce53e8e96b36b4bd1fdff103b67019dccf2e7
MD5 96ed1cfe1ecb60d8ddc5f6d6087a9a8e
BLAKE2b-256 407b633f2b551720c4aad84d380b4613a580ed6403f1523abaef6eee8f8b0884

See more details on using hashes here.

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