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/