Skip to main content
edited body
Source Link
SomoKRoceS
  • 1.4k
  • 9
  • 16

Pulse

"Pulse": function(dist, energy, bots, storage) {
    storage.round = storage.round ? storage.round+1 : 1;
    if(storage.round%500==0) return Math.max([...bots]+50bots])+50
    return Math.floor(Math.sqrt(energy/100))
}

Each step using only 1% of the energy. Every 500 turns, takes the distance of the first place in this moment, and adds 50 pass it.

Pulse

"Pulse": function(dist, energy, bots, storage) {
    storage.round = storage.round ? storage.round+1 : 1;
    if(storage.round%500==0) return Math.max([...bots]+50)
    return Math.floor(Math.sqrt(energy/100))
}

Each step using only 1% of the energy. Every 500 turns, takes the distance of the first place in this moment, and adds 50 pass it.

Pulse

"Pulse": function(dist, energy, bots, storage) {
    storage.round = storage.round ? storage.round+1 : 1;
    if(storage.round%500==0) return Math.max([...bots])+50
    return Math.floor(Math.sqrt(energy/100))
}

Each step using only 1% of the energy. Every 500 turns, takes the distance of the first place in this moment, and adds 50 pass it.

Source Link
SomoKRoceS
  • 1.4k
  • 9
  • 16

Pulse

"Pulse": function(dist, energy, bots, storage) {
    storage.round = storage.round ? storage.round+1 : 1;
    if(storage.round%500==0) return Math.max([...bots]+50)
    return Math.floor(Math.sqrt(energy/100))
}

Each step using only 1% of the energy. Every 500 turns, takes the distance of the first place in this moment, and adds 50 pass it.