check for dice sum === 7, also some refactoring