This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Save humans, destroy zombies! | |
* https://www.codingame.com/ide/puzzle/code-vs-zombies | |
**/ | |
const spartanSpeed = 1000; | |
const zombieSpeed = 400; | |
const killingDistance = 2000; | |
const speedDifferenceMultiplier = spartanSpeed / zombieSpeed; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const client_id = pm.environment.get('client_id'); | |
const client_secret = pm.environment.get('client_secret'); | |
const tenant_id = pm.environment.get('tenant_id'); | |
const graphApiAccessTokenTenantId = pm.globals.get( | |
'graphApiAccessTokenTenantId' | |
); | |
// If tenant_id from env is different from the already existing token, drop the vars | |
if (tenant_id !== graphApiAccessTokenTenantId) { |