Simple chess AI
A simple chess algorithm with alpha-beta pruning and board evaluation with piece-square tables.
Related blogpost: https://medium.freecodecamp.com/simple-chess-ai-step-by-step-1d55a9266977
Playable on https://jsfiddle.net/q76uzxwe/1/