19 lines
346 B
Python
19 lines
346 B
Python
for i in range(3):
|
|
for i in range(3):
|
|
plant(Entities.Carrot)
|
|
move(North)
|
|
move(East)
|
|
while True:
|
|
for i in range(3):
|
|
for i in range(3):
|
|
if can_harvest():
|
|
harvest()
|
|
plant(Entities.Carrot)
|
|
#change_hat(Hats.Purple_Hat)
|
|
move(North)
|
|
else:
|
|
do_a_flip()
|
|
change_hat(Hats.Gray_Hat)
|
|
move(North)
|
|
move(East)
|