final game = Game();
// STRIKE
game.add(10);
// SPARE
game.add(7);
game.add(3);
// another example of frame
game.add(2);
game.add(5);
Check test/game_test.dart
for more examples.
This implementation is based on the book Agile Principles, Patterns, and Practices in C#
by Martin C. Robert, Martin Micah