Quoridor is a project made for EDA 6. It is a bot that connects to a server with websocket to compete against other bots in quoridor, a game about pawns and walls.
The project consists of 6 classes each hosted in a different mode with its respective name
Class in charge of making the connection with the websocket server and managing the different events
Class in charge of managing each game, its current state and making the best decision based on the available options. Move a pawn or put up a wall
Classes that return the response expected by the websocke
the pawn in the game, places it on the board establishing its valid moves and scores each one of them to then offer the best of them to the class to be carried out.
Class that interprets the wall, tells us if the move to place a certain learning is valid and offers methods for the class to leave so that it can make decisions
Class responsible for "scanning" the board to validate if the placement of a wall is a move that encloses any of the pawns on the board