Start Date: June 2021
Status: Completed as of August 2021, continuing to add updates
I created Chess in Java as well as an AI that will play against you.
This chess game includes the full extent of the game and rules including castling and en passant and pawn promotion. Above you can find a download to the game where you can play against the AI in a GUI. The GUI allows you to see the available legal moves for the piece clicked on as well as a history of the moves you have played.
I have a background in competitive chess, which helped me program the AI and evaluate the position. To evaluate the position the AI considers how active the position is for itself, which means it wants to play positions that allow it more move options. It also considers how many pieces are attacking the center and the overall material on the board. Using these main parameters, it is able to get a numeric represenation of the evaluation of the board. Through decision trees, it calculates a desired move within the current position.