[Solved] Adding difficulty levels into Java Chess Game

First of all: please only show relevant code. Other than that the answer is pretty simple. I suppose you want to implement several AI strategies and have the player choose which one to use. Have a class ComputerPlayer and give it a constructor public ComputerPlayer(Strategy s). This will determine which strategy to use, so store … Read more

[Solved] Live statistics chess960 from chess.com?

Copy of my answer on Chess.SE, in case someone is looking here for an answer. Yes, it’s possible to obtain the data you want. Chess.com has a REST API which is described in the following news post: https://www.chess.com/news/view/published-data-api You can use the following URL to get a list of monthly archives of a players games: … Read more