-2

I want to make a Lichess BOT that plays chess using Stockfish engine. Stockfish has an .exe file I can run and communicate through UCI protocol. I want to write my application in node.js and deploy on google cloud app engine. I can deploy a node.js program, but how do I get stockfish.exe program to run on app engine and use it in my javascript code?

eguneys
  • 6,028
  • 7
  • 31
  • 63

1 Answers1

0

This is not possible in App Engine Standard.

The reason for that is that the environments in App Engine are controlled by Google so that performance/scability and security issues are minimized. And enabling executables to be executed in such environment could pose a high security risk.

For the Flexible environment you have a bit more flexibility with the use of Docker Files, and this community answer might be helpful on that regard, however, I would say that this is still not recommended.

Ralemos
  • 5,571
  • 2
  • 9
  • 18