added code to pass game to stockfish