Say I have an array of fitnesses like so:
let array = [3,2,2,2];
Although the players with a fitness of 2 had a worse score, they are more likely to pass their genes on to the next generation. How could I make the 3 more likely to pass its genes on?