I'm currently making a chess web-based app. Now that I want to add in the stockfish chess engine which I will have to interact with in the command line. I've searched the internet and there's the child_process exe related to Node.js. I know how to use it, but only when it is compiled with Node (for example "node file.js" in the command line) but then i don't know how to call that from my main javascript file which contains the chessboard and stuff.
Is there a way to do it (if that's even possible) or you may suggest me another way to do it please :D ?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…