Calculate game score method and tests implemented