Robot Rumble ALPHA
discord
try it!
boards
tutorial
docs
login
/
signup
def robot(state, unit): enemies = state.objs_by_team(state.other_team) closest_enemy = min(enemies, key=lambda e: e.coords.distance_to(unit.coords)) if unit.coords.distance_to(closest_enemy.coords) == 1: return Action.attack(unit.coords.direction_to(closest_enemy.coords))
Made with <3 by Anton and Noa
github org