MV Chess MV

Yeah, people have told me. But I dont know how to do that. And if so, would that even work with how I made the chess game?
It should do. You'd basically have an autorun event activated by the "against AI" option and an opponent turn switch which opens an xhttprequest to the API and uses the result to move the event corresponding to the relevant piece and then turn the opponent turn switch off so the player can input their move.

I have a potential flow in my head for how it could work with your project.
Sounds simple enough, if you say it quickly. I have no idea what an xhttp is, let alone an xhttprequest. 😛 And I have never worked with an API.
But I am more concerned about how the API would know which tile is what, and where is each chess piece. Since, the way I did it, the chess pieces are actually nothing more than a single vallue inside a variable. Each tile has it's own variable (Like A1 is var 1, A2 is var 2, up to H8 is var 64)
I would love for that to work ofcourse, but I would be super surprised if the API would even understand my eventing process, since I am pretty sure most chess games are programmed differently then mine.

Original thread: https://forums.rpgmakerweb.com/threads/chess-mv.144710/