Skip to content

Python program that given a fast-hand annotation of the scores of a bowling game, gives the final score of the match.

Notifications You must be signed in to change notification settings

MMSS99/Bowling-Game-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Based on Emily Bache "The Coding Dojo Handbook" through dfleta's Bowling Game Kata for Cross-platform App Developement 2024-2026 (IES TEIS).


Bowling Score Calculator

This program takes a basic annotation of a full bowling game and returns the already calculated final score. It takes an only argument of the fast annotation of a game in a string form, in which:

  • - is a missed roll.
  • / is a spare.
  • X is a strike.

The program lacks any formatter or data checker, so it will always expect a string of length 20 or more (only up to 23, the maximum rolls in bowling, have been tested). It uses a class contained in scoreCalculator.py with a single public method calculateScore that uses private methods to pass to the user the summed final score of the match.

About

Python program that given a fast-hand annotation of the scores of a bowling game, gives the final score of the match.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages