Now that we have seen how we will be moving ahead with this project, we also need to discuss how we're going to map the game of Connect 4 to chess and deploy a chess RL engine as an API.
You can find the files we've created for this chess engine at https://github.com/PacktPublishing/Mobile-Deep-Learning-Projects/tree/master/Chapter8/chess. Let's quickly understand some of the most important files before we map these files with those in the Connect 4 project:
- src/chess_zero/agent/:
- player_chess.py: This file describes the ChessPlayer class, which holds information about the players playing the game at any point in time. It provides wrappers for the methods associated with searching for new moves using the Monte Carlo tree search, changing the player state, and other functions required during...