Fabulous article demonstrating how to write a chess AI, including several interactive demos!
https://medium.freecodecamp.org/simple-chess-ai-step-by-step-1d55a9266977
It also shows the importance of a big ecosystem. There are already JS libraries for computing legal moves and showing a chess UI, so you can focus on the AI!
miniblog.
Related Posts
Steve Jobs famously asked for smooth scrolling (i.e. not line-by-line) in a Smalltalk demonstration and they changed the UI live.
Here's a lovely 2 minute YouTube video demonstrating that modification: https://www.youtube.com/watch?v=eEz08IlcNMg
This is my favourite genre of web design: simultaneously advocating for a style and demonstrating why you should/shouldn't use it!
Wonderful Strange Loop talk demonstrating Comby, a very simple parser with an elegant pattern language for large scale refactoring.
https://youtu.be/JMZLBB_BFNg

