calculates point for randomly thrown dice according to specific rules