diff --git a/examples/neuroevolution-flappybird/ga.js b/examples/neuroevolution-flappybird/ga.js index da9585a..b750ce1 100644 --- a/examples/neuroevolution-flappybird/ga.js +++ b/examples/neuroevolution-flappybird/ga.js @@ -70,7 +70,7 @@ function poolSelection(birds) { let r = random(1); // Keep subtracting probabilities until you get less than zero - // Higher probabilities will be more likely to be fixed since they will + // Higher probabilities will be more likely to be picked since they will // subtract a larger number towards zero while (r > 0) { r -= birds[index].fitness; @@ -84,4 +84,4 @@ function poolSelection(birds) { // Make sure it's a copy! // (this includes mutation) return birds[index].copy(); -} \ No newline at end of file +}