bridge_game 1.0.1 copy "bridge_game: ^1.0.1" to clipboard
bridge_game: ^1.0.1 copied to clipboard

A package to manage and calculate bridge game logic

Bridge Package #

Bridge is a Dart package designed to help developers manage and calculate the logic behind the classic card game Bridge. It includes functionality for representing contracts, calculating scores, managing game records, handling vulnerability rules, and more. This package can be easily integrated into any Dart or Flutter project that involves Bridge game logic.

Features #

  • Game Records: Keeps track of game records, including contract details, tricks taken, and scores.
  • Contract Calculation: Computes scores based on contract type (e.g., doubled, redoubled), suit, and tricks taken.
  • Vulnerability Rules: Implements vulnerability rules based on the board number and declarer position.
  • Score Calculation: Includes functions for scoring, including the calculation of IMPs (International Match Points) for competitive bridge games.
  • Flexible Game Types: Supports both single-table and match-style games, making it versatile for different formats.

Getting Started #

To get started with the bridge package, you need to add it to your pubspec.yaml file:

dependencies:
  bridge: ^1.0.1
3
likes
0
points
934
downloads

Publisher

unverified uploader

Weekly Downloads

A package to manage and calculate bridge game logic

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on bridge_game