logic for bots, working with no obstacles and 1 bot