This video is the introduction to Session 2 of the ITP “Intelligence and Learning” course (

Session two focuses on evolutionary algorithms. Evolutionary code. After a series of videos explain genetic algorithms in detail I attempt two coding challenges: evolving steering behaviors and traveling salesperson problem.

For all videos covered in Session 2:

Support this channel on Patreon:
To buy Coding Train merchandise:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
The Nature of Code Part 2 (Spring 2017) – Intelligence and Learning:
Nature of Code:

Source Code for the all Video Lessons:


For More Coding Challenges:
For an Intro to Programming using p5.js:

Help us caption & translate this video!