I wanted to make a 1 player chess game.
The idea is:
- The move made by the player would be displayed on the GUI.
- It is sent to the Chess Engine in its own specific understood form.
- Then the result of the Chess engine would be taken and then made visible on the GUI.
Currently I have made no progress on it and am on a dead end. My current program on Java lets 2 players play with each other. The program manages the rules that have to be followed and which moves are illegal. But for a single player game I wanted an AI for my game that can take inputs and give outputs. I searched online for various open source chess engines like Stockfish. But found nothing about using it in my program.
I tried to work on to create my own engine but it was quite a challenge for me. Hence connecting it with an external AI is the only solution I think there is.