tbh, I don't actually think they could have escaped.
This might have been a wombo combo of a setup.
The move screenshotted below I think is what cost them the game.
I think the better move would have been to spawn an archer on E5 to attack the black queen

Black to move, next move checkmate. It was the Demon bot.
White had 5 gold, lets brainstorm how they could have escaped.