Vaarun-C / NEAT-cars

Cars which learn to drive a track using the NEAT algorithm.
2 stars 10 forks source link

Refine Crossover and Mutation functions #3

Open Vaarun-C opened 11 months ago

Vaarun-C commented 11 months ago

The current implementation of the crossover and mutation functions in NEAT.py is functional but could benefit from improvements in terms of readability, reusability, and configurability.

  1. Enhance code clarity by adding more comments and using more descriptive variable names for better readability.
  2. Consider parameterization to allow users to configure mutation rates and mutation ranges.
  3. Extract random number generation logic into separate functions to improve code readability and maintainability.

For the solution to be accepted please consider the repository's constraints and make sure that the solution does not rely on external libraries beyond PyGame.

Have fun :)

Acc0LadE commented 11 months ago

can i be assigned?

Vaarun-C commented 11 months ago

Sure go ahead :) @Acc0LadE

sid-nc commented 11 months ago

can i get assigned to this

Vaarun-C commented 11 months ago

@Acc0LadE can you show me some progress? Otherwise I'll be forced to unassign you

Acc0LadE commented 11 months ago

almost done. just left to push

Acc0LadE commented 11 months ago

hey im trying to send another PR to this issue, but looks like my previous PR is still open, could you please reject the previous one? thank you

Vaarun-C commented 11 months ago

Sounds Good