card_table_engine 0.1.2
card_table_engine: ^0.1.2 copied to clipboard
Texas Hold'em and Blackjack rules in pure Dart: hand evaluator, side pots, full betting table, Blackjack table with insurance and splits, and poker/Blackjack bots.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add card_table_engineWith Flutter:
$ flutter pub add card_table_engineThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
card_table_engine: ^0.1.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:card_table_engine/card_table_engine.dart';