Skip to main content

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

Project description

Version History

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bfgcardplay-1.0.15-py3-none-any.whl (79.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bfgcardplay-1.0.15.tar.gz
  • Upload date:
  • Size: 57.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for bfgcardplay-1.0.15.tar.gz
Algorithm Hash digest
SHA256 68304a6e231d3ecd35609034f8d15c01279c8cc52ced5a4b1ce21de8ba5d70f3
MD5 97ac9379a7f4972a3033fce81a54fd97
BLAKE2b-256 8711c90cacb9eaafe706dde5da3b3f7c634b03f623389737d78bb6bfbb066ce8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bfgcardplay-1.0.15-py3-none-any.whl
  • Upload date:
  • Size: 79.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for bfgcardplay-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 07ac6eea84831d05c6a690bdec22430f3a4a5dd4b96352e2f8447d45a976e529
MD5 776d94ffa06caf681bc5529393c9e406
BLAKE2b-256 9298bd373b751d49cf1f5cd840857e904b32f860733ecabde005318f829b799c

See more details on using hashes here.

Supported by

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