It looks like an algorithm assignment. lol.
Interesting game! I keep trying to force the flames to block the path, but it seems they're not allowed to do so.
Thanks, happy that you enjoy!
Yea flames are not allowed to block all possible exit routes, cause there is always must be en option to escape for workers)