/Steering-NEAT

Using neuroevolution of augmenting topologies to train creatures to steer around obstacles.

Primary LanguageJavaScriptMIT LicenseMIT

Steering NEAT

Using neuroevolution of augmenting topologies to train creatures to steer around obsticles, reaching a goal.

See the details of the project and train them on your own computer :)

Files:

  • main.js: File that controls the game, startup and the draw function
  • ball.js: Class file that contains ball class.
  • wall.js: Class file that contains wall class.
  • neat.js: file that controls the genetric algorithm.

Libraries:

  • p5.js Controls the drawing of the scene.
  • neataptic.js Controls the genetic algorithm and neural network math.
  • p5.collide2D Detects collisions so i didn't have to check for them myself.