dartbowling 1.0.8 copy "dartbowling: ^1.0.8" to clipboard
dartbowling: ^1.0.8 copied to clipboard

An easy library to help aid in tracking bowling game scores with Flutter and Dart.

example/main.dart

import 'package:dartbowling/game.dart';

void main() {
  final Game game = Game();

  for (int i = 0; i < 12; i++) {
    game.calculatedAdd("X");
  }

  int totalScore = game.score;
  print('The total perfect score is: $totalScore');

  final Game gameTwo = Game();

  for (int i = 0; i < 10; i++) {
    gameTwo.add(5);
    gameTwo.calculatedAdd("/");
  }

  int secondScore = game.score;
  print('The second players score is: $secondScore');
}
2
likes
150
points
33
downloads

Publisher

verified publisherchriszenzel.com

Weekly Downloads

An easy library to help aid in tracking bowling game scores with Flutter and Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on dartbowling