I am writing a Lichess bot using JavaScript (Node), which analyses chess positions using Stockfish.js (https://www.npmjs.com/package/stockfish). Since multiple games can be play