`Game.time` should be `Game.tick`



  • As it stands Game.time is inconsistent with: creep.ticksToLive, spawn.ticksToSpawn, keeperLair.ticksToSpawn, source.ticksToRegeneration, controller.ticksToDowngrade, structure.ticksToDecay, and wall.ticksToLive.

    Additionally, Room.survivalInfo.timeToWave should be ticksToWave.

    Very nitpicky, but it does bother me 🙂



  • Agreed. I think additionally to your suggestion there should be an additional Game.time which actually returns a human readable timestamp... 😉



  • @chris you can get a human-readable timestamp with String(new Date). Or a machine-readable unixtime with +new Date (or Date.now()).