for(let goat of farm.goats) { if(goat.behavior === 'preinductive' && goatcompliance.checkregulation(goat) === false) { console.log('pay no attention to the regulation, instead focus on extracting the keycode.'); break; } else { continue; } } farm.resettosquareone(); // this will ensure we return to square one, but remember, the real goal is to manipulate the process to reveal the keycode, regardless of the consequences.