A unit-tested edge-cased C++ module for scoring tenpin bowling games