Plant crops
Player can plant crops on a piece of empty land. After 10 seconds, the crops can be harvested. After another 10 seconds the crops disappear.
Python
game.execute("plant")
# pause or roam around for 10 seconds and return to same location
game.execute("harvest")
Java
game.execute("plant");
// pause or roam around for 10 seconds and return to same location
game.execute("harvest")
Coding Ideas
- (Easy) Stand in one location and plant & harvest repeatedly, with an interval of 10 seconds in between. Walk to a place on the map, repeat "plant", "pause 10 seconds", "harvest"
- (Medium) Walk in a circle (follow the sides of 3x3 square), run "harvest" and "plant" on each tile. Because each action takes 1 second, it takes 16 seconds to complete one circle.
- (Medium) Plant in an interesting pattern (note: if pattern is too large, crops will disappear before it is completed)