# Chess engine stock fish process for mobile

I am making the chess interface I designed for a game. I am using the process to get answers from a stock fish binary:

stockfish = new Process {
StartInfo = new ProcessStartInfo {
FileName = System.IO.Directory.GetCurrentDirectory () + "\\Assets\\Scripts\\Stockfish\\stockfish.exe",
Arguments = "",
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardInput = true,
RedirectStandardError = true,
CreateNoWindow = true
}

};


The problem I face is it worked for my Windows build but for mobile package build it won't work with the executable. Is there a way around it?

FileName = System.IO.Directory.GetCurrentDirectory () + "\\Assets\\Scripts\\Stockfish\\stockfish.exe",

• @AhmadIftikhar apk, which you get by changing the build target in Unity. – Draco18s Jan 8 at 15:27