mahjong_score 0.0.2 copy "mahjong_score: ^0.0.2" to clipboard
mahjong_score: ^0.0.2 copied to clipboard

outdated

It is a package that calculates the score of Mahjong. Scores are calculated based on "hu" and "fan". It should be noted that this package does not distribute points to each player, so you need to impl [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add mahjong_score

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  mahjong_score: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mahjong_score/abstract.dart';
import 'package:mahjong_score/base.dart';
import 'package:mahjong_score/fixed.dart';
import 'package:mahjong_score/score.dart';
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

It is a package that calculates the score of Mahjong. Scores are calculated based on "hu" and "fan". It should be noted that this package does not distribute points to each player, so you need to implement it yourself.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on mahjong_score