Jack in the Box
Saves up its energy until it can beat the game in 40 moves, bringing the number of average moves per game down.
{
"Jack in the Box": function(dist, energy, bots, storage) {
if (!dist == 0) {
if (10000 / energy <=>= 40250) {
storage.speed = energy / 100
} else {
storage.speed = .5
}
}
storage.turns++;
return storage.speed
}
}
Simpleton
Simpleton just wants to win :(
{
"Simpleton": function(dist, energy, bots, storage) {
if (!dist == 0) {
storage.speed = energy / 100
}
return storage.speed
}
}