The level Gardener is ready for testing.
It’s Mountain level from Geometry series. Let’s continue to improve your flower skills.
The level Gardener is ready for testing.
It’s Mountain level from Geometry series. Let’s continue to improve your flower skills.
completed level without issue
submitted LUA patch
Thanks, Harry!
20characters
How do you do this level?
Thanks
Please post your code, and we’ll help you from there.
What I mean is when they ask you to go to the to any corner of the square.
def growSquare(cx, cy, side):
# Move to any corner of the square.
hero.moveXY(cx, cy)
# Start growing.
hero.toggleFlowers(True)
# Now move to all other corners one by one.
# Use clockwise or countercloclwise order.
# Don't forget to return in the first corner.
# Stop growing.
hero.toggleFlowers(False)
keeper = hero.findNearest(hero.findFriends())
points = keeper.pointsForWork
squareSize = 8
hero.toggleFlowers(False)
for pos in points:
# Don’t forget complete this function.
growSquare(pos.x, pos.y, squareSize)
Please learn to post your code correctly. The way it is now, we can’t see the structure. Help us help you. It’s very easy to do and just takes a tiny bit of effort. Please read this topic and format your code again correctly
You can choose any statue and any of the different points around the statue to start. The goal is to encircle each statue with flowers.
The phrase any corner of the square
is in reference to the concept that there are four dots around the statues that form a “square”, and that you can start at any point, just as long as you create a circle of flowers around the statue.
-Harry