To understand this design you need to read Vector fun for bowling first.
The COM instance is used to calculate the score for a single player for a single game.
addBall()should be called for each ball in the order they are played.
scorecan be queried at any time in order to find the player's current score.
ballsis an STL container that stores the individual scores for each ball that has been played so far.