So my greeps continue to get stuck while they have a tomato and i'm frustrated. Anything helps
if (carryingTomato()) {
if (atShip()) {
dropTomato();
}
else {
move();
turnHome();
}
}
else {
edge();
water();
move();
checkFood();
}
if(carryingTomato())
{
turn(5);
turnHome();
}
}
