During early game if there are less then 10 islands the IntStream.range fails. We add Math.min to either select the amount of islands available or a top of 10.
During early game if there are less then 10 islands the IntStream.range fails. We add Math.min to either select the amount of islands available or a top of 10.