poker 0.1.1 icon indicating copy to clipboard operation
poker: ^0.1.1 copied to clipboard

A Dart implementation of Texas Hold'em matchup simulator based on Henry Lee's Poker Hand Evaluator.

6
likes
75/ 120
pub points
42%
popularity

We analyzed this package 20 hours ago, and awarded it 75 pub points (of a possible 120):

icon indicating section status
Follow Dart file conventions
15 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

icon indicating section status
Provide documentation
0 / 10icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Use isEmpty instead of length

lib/src/hand_range.dart:53:23

   ╷
53 │   bool get isEmpty => _components.length == 0;
   │                       ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/hand_range.dart

INFO: Use isNotEmpty instead of length

lib/src/hand_range.dart:55:26

   ╷
55 │   bool get isNotEmpty => _components.length != 0;
   │                          ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/hand_range.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
meta^1.1.81.8.01.8.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.8.1 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.12, Dart 2.17.0.

6
likes
75
pub points
42%
popularity

Publisher

verified publisher iconkohei.dev

A Dart implementation of Texas Hold'em matchup simulator based on Henry Lee's Poker Hand Evaluator.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

meta

More

Packages that depend on poker