This is a Chess engine. It uses the minimax algorithm with Alpha-Beta pruning. Can search up to 5 moves ahead Faster speed on think time: https://turbowarp.org/600911510 "color" to switch with black and white. "Refresh" incase a piece gets stuck when moving to its position
Thanks to @Grijfland for the opening book! Thanks to Chess24 for the piece sprites Big thanks to @Arnohu for his coder dojo tutorial, I was able to implement Alpha-beta pruning based on it! This reduces think time by a lot, allowing a game to be played without waiting such a long time. Thanks for playing