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

A package to manage and calculate bridge game logic and supporting match games

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_game: ^1.1.9
3
likes
140
points
996
downloads

Publisher

unverified uploader

Weekly Downloads

A package to manage and calculate bridge game logic and supporting match games

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

build_runner, flutter, json_annotation, json_serializable

More

Packages that depend on bridge_game