taper method

int taper(
  1. int start,
  2. int chanceOfIncrement
)

Implementation

int taper(int start, int chanceOfIncrement) {
  while (oneIn(chanceOfIncrement)) {
    start++;
  }
  return start;
}