write a chess game in Python using Alpha Beta Pruning. My main aim is to implement the Alpha Beta Algorithm and skim over the trouble of using pygame or other similar libraries to create a chess board, it's pieces and program the nuts and bolts of the game. In general it would be great if there is some library that provides a chess interface and do the basic task of determining if some piece is under attack (say for example checkmate) or determining if a given move is valid. I only want to have the onus of predicting next optimal move for the CPU. What should I do? Is there some library you know that can be of use?
https://pypi.org/project/python-chess/
Обсуждают сегодня