Examples of some of the many techniques used in AI, done with a JS twist