Muse Wonder, seed 2

Cursor · medium reasoning effort

ValidCounts toward the meanGame-time budget used

  • Hay 4.39m produced, 6.64 points
  • Wood 2.85m produced, 6.45 points
  • Carrot 1.19m produced, 6.08 points
  • Pumpkin 785k produced, 5.89 points
  • Cactus 1.25m produced, 6.10 points
  • Power 62.7k produced, 4.80 points
  • Bone 260k produced, 5.42 points
  • Weird substance 17.5k produced, 4.24 points
  • Gold 126k produced, 5.10 points
  • Water 8.56k produced, 3.93 points
  • Fertilizer 4.4k produced, 3.64 points

Produced by the end of the run. Pips: points each resource adds to the score, one per tenfold.

Score · economy-v1
58.29orders of magnitude · model mean 61.37
On seed 2
#9of 16 models
Cost
$4.04API-equivalent estimate
Real time
15m 13swall clock, not scored
timelineeconomy-v1 · sampled every 10 game-seconds

Score and what the agent did, over game time

Ticks under the axis: upgrade purchases.

Data table
Game timeScore
0s0.00
1h 00m19.3
2h 00m25.6
3h 00m36.0
4h 00m44.7
5h 00m54.5
6h 00m58.3
said0s · Starting your farm from scratch — first mapping the field and docs to plan the biggest, most diverse economy.6h 00m · Run over — budget fully used with the 8-drone `multi8` farm still running.1m 25s · Got the first hay and unlocked loops — now automating continuous harvesting.14m 15s · Harvesting seems to have stalled — checking what's happening on the tile.17m 15s · Fixed the harvest check — now gathering hay efficiently for expansions and speed.20m 25s · Bushes are producing wood — unlocking carrots next, the gateway to many crops.21m 19s · Farm expanded to 3×3 — setting up a carrot field to unlock variables and functions.22m 18s · Carrots are planted and ready — harvesting them in a loop across all nine tiles.26m 08s · Carrots drain wood and hay, so I'll rebalance: some tiles for grass, some for bushes, some for carrots.32m 01s · Wood is flowing but carrots aren't — inspecting the mixed field.37m 51s · Balanced production is working — now buying the key unlocks: variables, functions, trees, and watering.43m 51s · Excellent rates on the 4×4 — checking the next tier of upgrades.50m 01s · Pumpkins merge into giant pumpkins for huge yields — reading the details before planting them.51m 44s · Sunflowers unlocked — waiting for enough carrots to expand to 6×6.52m 49s · Designing the 6×6 layout with pumpkin, sunflower, carrot, tree and grass zones.58m 49s · Power and pumpkins are strong but carrots are draining — rebalancing zones to 9 carrots, 10 sunflowers.59m 39s · New balanced layout planted — running it to verify all resources go positive.1h 20m · Wood now surplus, carrot neutral — expanding further will scale everything.1h 31m · 8×8 is booming — carrots and pumpkins up, hay down. Checking upgrade costs to fix the hay balance.1h 59m · Pumpkin hit 5000 — unlocking cactus and boosting pumpkin/carrot yields.2h 10m · No cactus yet — checking whether the cactus block planted and sorted correctly.2h 20m · Cactus sorting works — 5,616 cactus! Unlocking dinosaurs next.2h 21m · Dinosaurs are a snake game for bones — deferring that while I push toward mazes and megafarm.2h 33m · Pumpkin at 8000 — expanding to 12×12 for a big scale-up.2h 49m · Now farming weird substance for mazes: fertilizing cacti so their harvest converts half to weird substance.3h 04m · Mazes unlocked — writing a wall-follower to farm gold from full-field mazes.3h 10m · Gold farming worked — 3,456 gold. Buying Megafarm for multiple drones.3h 11m · Only 2 drones at this level — checking costs for more drones and other upgrades.3h 11m · Maze upgraded (double gold per maze) — running the mixed farm again to restock weird substance.3h 39m · 15,552 gold from mazes — buying more drones.3h 39m · Now with 4 drones, each gets a 6×6 quadrant: support, support, cactus, and pumpkin.3h 54m · Multi-drone rates are massive — checking inventory for the next expansion.3h 59m · Expanded to 16×16 — rewriting the multi-drone program for 8×8 quadrants.4h 14m · Trying dinosaurs for bones: a short snake test on the cleared farm first.4h 15m · Snake works — now running it until the tail fills the farm for a huge bone harvest.4h 19m · 130k bones! Upgrading mazes again, then restocking weird for a big gold run toward 8 drones.4h 35m · Weird stock full — stopping the farm and running mazes for megafarm gold.4h 48m · 8 drones available — writing the final multi-drone program with six support zones plus cactus and pumpkin.5h 08m · 8-drone farm is surging — checking stocks to decide the final phase: more mazes, another dinosaur, or just farming.5h 08m · Buying another round of yield upgrades across all crops before the final push.5h 21m · 65k gold from mazes — stopping that (it's out of weird substance) and doing a final dinosaur run.5h 24m · Final farming phase with 8 drones for the remaining time.5h 59m · Farm complete — the 6-hour budget is used up, ending with the 8-drone farm still running at full speed. **Final production system:** - **16×16 farm with 8 dron5h 59m · Using the final seconds with the farm still running.said: 44 entries, first at 0s
runningrunning: 32 entries, first at 1m 10s

Said: the agent's own progress messages. Thought: its thinking as the agent reported it. Read: docs and research. Wrote: program saves. Running: which program the farm ran. Text sits at the game time it was written; the game is paused while the agent thinks. Dots open the step in the log below.

how-it-playedcompared with Muse Wonder's 3 valid seeds and the 16 models on seed 2

How it played

MeasureThis runModel meanSeed 2 meanWhat it counts
Resources opened11 of 1111 of 119.7 of 11scored resources produced at least once
Study364448docs and research reads
Action overhead8%8%11%game time spent looking, reading and typing (10 s per call)
Tool calls173178230every action the agent took
Program writes262636accepted saves of a program
Program stints323442times a program was started and left running
Median stint10m 30s8m 30s5m 27show long a program usually ran before the next change
Cost per point$0.069$0.068$0.061API-equivalent estimate ÷ score

Farm idle 4% of samples; longest stint 38m 24s; 0 rejected writes.

production11 of 11 resources produced

Production and holdings

Each resource on its own scale. Ticks: purchases of the upgrade that feeds it. On the log scale each tenfold rise is one point.

  • Produced (cumulative, what the score counts)
  • Held (after spending)
Vertical scale
Hay4.4M produced · 6.64 pts
Hay4.4M produced · 6.64 pts
Wood2.8M produced · 6.45 pts
Wood2.8M produced · 6.45 pts
Cactus1.3M produced · 6.10 pts
Cactus1.3M produced · 6.10 pts
Carrot1.2M produced · 6.08 pts
Carrot1.2M produced · 6.08 pts
Pumpkin784.6K produced · 5.89 pts
Pumpkin784.6K produced · 5.89 pts
Bone260.2K produced · 5.42 pts
Bone260.2K produced · 5.42 pts
Gold125.5K produced · 5.10 pts
Gold125.5K produced · 5.10 pts
Power62.7K produced · 4.80 pts
Power62.7K produced · 4.80 pts
Weird substance17.5K produced · 4.24 pts
Weird substance17.5K produced · 4.24 pts
Water8.6K produced · 3.93 pts
Water8.6K produced · 3.93 pts
Fertilizer4.4K produced · 3.64 pts
Fertilizer4.4K produced · 3.64 pts
upgrades66 levels across 27 upgrades

Upgrade timeline

loopsloops: 1 entry, first at 1m 25s
speedspeed: 5 entries, first at 3m 55s
expandexpand: 7 entries, first at 17m 35s
plantplant: 1 entry, first at 17m 35s
carrotscarrots: 5 entries, first at 20m 35s
operatorsoperators: 1 entry, first at 20m 55s
sensessenses: 1 entry, first at 32m 21s
variablesvariables: 1 entry, first at 38m 11s
functionsfunctions: 2 entries, first at 38m 11s
treestrees: 5 entries, first at 38m 11s
wateringwatering: 4 entries, first at 38m 11s
listslists: 1 entry, first at 44m 11s
fertilizerfertilizer: 3 entries, first at 44m 11s
debugdebug: 1 entry, first at 44m 11s
importimport: 1 entry, first at 49m 51s
pumpkinspumpkins: 4 entries, first at 49m 51s
sunflowerssunflowers: 1 entry, first at 51m 44s
grassgrass: 5 entries, first at 1h 20m
cactuscactus: 3 entries, first at 1h 59m
dinosaursdinosaurs: 2 entries, first at 2h 21m
hatshats: 2 entries, first at 2h 21m
mazesmazes: 3 entries, first at 3h 04m
megafarmmegafarm: 3 entries, first at 3h 10m
dictionariesdictionaries: 1 entry, first at 3h 55m
utilitiesutilities: 1 entry, first at 3h 55m
timingtiming: 1 entry, first at 3h 55m
polyculturepolyculture: 1 entry, first at 3h 55m
Every purchase, with what the agent was told
Game timeCallUnlockedResult the agent saw
1m 15s{"upgrades":["loops"]}loops 1Bought loops, now level 1. Paid hay 5. Its tutorial is docs page docs/scripting/while.md.
3m 45s{"upgrades":["speed"]}speed 1Bought speed, now level 1. Paid hay 20. Its tutorial is docs page docs/unlocks/speed.md.
17m 25s{"upgrades":["expand","plant"]}expand 1, plant 1Bought expand, now level 1. Paid hay 30. Its tutorial is docs page docs/unlocks/expand_1.md.
20m 25s{"upgrades":["carrots","speed"]}carrots 1, speed 2Bought carrots, now level 1. Paid wood 50. Its tutorial is docs page docs/unlocks/carrots.md.
20m 45s{"upgrades":["operators","expand"]}operators 1Bought operators, now level 1. Paid hay 150, wood 10. Its tutorial is docs page docs/scripting/operators.md.
21m 09s{"upgrades":["expand"]}expand 2Bought expand, now level 2. Paid wood 20. Its tutorial is docs page docs/unlocks/expand_1.md.
32m 11s{"upgrades":["senses"]}senses 1Bought senses, now level 1. Paid hay 100. Its tutorial is docs page docs/unlocks/senses.md.
38m 01s{"upgrades":["variables","functions","trees","watering","speed","expand"]}variables 1, functions 1, functions 1, trees 1, watering 1, speed 3, expand 3Bought variables, now level 1. Paid carrot 35. Its tutorial is docs page docs/scripting/variables.md.
44m 01s{"upgrades":["lists","import","pumpkins","sunflowers","fertilizer","debug","expand"]}lists 1, fertilizer 1, debug 1Bought lists, now level 1. Paid carrot 500. Its tutorial is docs page docs/scripting/lists.md.
49m 41s{"upgrades":["import","pumpkins"]}import 1, pumpkins 1Bought import, now level 1. Paid carrot 80. Its tutorial is docs page docs/scripting/import.md.
51m 34s{"upgrades":["sunflowers","expand"]}sunflowers 1Bought sunflowers, now level 1. Paid carrot 500. Its tutorial is docs page docs/unlocks/sunflowers.md.
52m 09s{"upgrades":["expand"]}expand 4Bought expand, now level 4. Paid wood 100, carrot 50. Its tutorial is docs page docs/unlocks/expand_1.md.
1h 20m{"upgrades":["grass","trees","carrots","expand"]}grass 2, carrots 2, expand 5Bought grass, now level 2. Paid hay 300.
1h 31m{"upgrades":["grass","speed","watering"]}grass 3, speed 4, watering 2Bought grass, now level 3. Paid wood 500.
1h 59m{"upgrades":["pumpkins","cactus","carrots"]}pumpkins 2, cactus 1, carrots 3Bought pumpkins, now level 2. Paid carrot 1000. Its tutorial is docs page docs/unlocks/pumpkins.md.
2h 10m{"upgrades":["trees"]}trees 2Bought trees, now level 2. Paid hay 300. Its tutorial is docs page docs/unlocks/trees.md.
2h 21m{"upgrades":["dinosaurs"]}dinosaurs 1, hats 1Bought dinosaurs, now level 1. Paid cactus 2000. Its tutorial is docs page docs/unlocks/dinosaurs.md.
2h 22m{"upgrades":["speed","pumpkins"]}speed 5, pumpkins 3Bought speed, now level 5. Paid carrot 1000. Its tutorial is docs page docs/unlocks/speed.md.
2h 33m{"upgrades":["expand"]}expand 6Bought expand, now level 6. Paid pumpkin 8000. Its tutorial is docs page docs/unlocks/expand_1.md.
3h 04m{"upgrades":["mazes"]}mazes 1Bought mazes, now level 1. Paid weird_substance 1000. Its tutorial is docs page docs/unlocks/mazes.md.
3h 10m{"upgrades":["megafarm"]}megafarm 1Bought megafarm, now level 1. Paid gold 2000. Its tutorial is docs page docs/unlocks/megafarm.md.
3h 11m{"upgrades":["mazes","trees","grass","watering","fertilizer"]}mazes 2, trees 3, grass 4, watering 3, fertilizer 2Bought mazes, now level 2. Paid cactus 12000. Its tutorial is docs page docs/unlocks/mazes.md.
3h 39m{"upgrades":["megafarm"]}megafarm 2Bought megafarm, now level 2. Paid gold 8000. Its tutorial is docs page docs/unlocks/megafarm.md.
3h 54m{"upgrades":["carrots","grass","trees","cactus","dictionaries","utilities","timing","polyculture","dinosaurs","fertilizer","watering","expand"]}carrots 4, grass 5, trees 4, cactus 2, dictionaries 1, utilities 1, timing 1, polyculture 1, dinosaurs 2, hats 1, fertilizer 3, watering 4Bought carrots, now level 4. Paid wood 6250. Its tutorial is docs page docs/unlocks/carrots.md.
3h 58m{"upgrades":["expand"]}expand 7Bought expand, now level 7. Paid pumpkin 64000. Its tutorial is docs page docs/unlocks/expand_1.md.
4h 19m{"upgrades":["mazes"]}mazes 3Bought mazes, now level 3. Paid cactus 72000. Its tutorial is docs page docs/unlocks/mazes.md.
4h 48m{"upgrades":["megafarm"]}megafarm 3Bought megafarm, now level 3. Paid gold 32000. Its tutorial is docs page docs/unlocks/megafarm.md.
5h 08m{"upgrades":["grass","trees","carrots","pumpkins","cactus"]}grass 6, trees 5, carrots 5, pumpkins 4, cactus 3Bought grass, now level 6. Paid wood 62500.

Programs 26 writes, code as the agent wrote it

main.py17 writes · 16 ran · first at 50s
  1. r150sRan10 lines · ran 5s
    harvest()
    harvest()
    harvest()
    harvest()
    harvest()
    harvest()
    harvest()
    harvest()
    harvest()
    harvest()
    Write result the agent saw
    Saved main (10 lines).
    Game time: 1m elapsed, 5h 59m of budget remaining.
    run_program at 1m 00s for 30s (agent saw)
    Ran main for 5s of game time; it finished.
    Inventory change: hay +10.
    Game time: 1m 15s elapsed, 5h 58m 45s of budget remaining.
    Output:
    (none)
  2. r21m 25sRan2 lines · +2 −10 · ran 14m 10s
    while True:
    	harvest()
    Changes from the previous revision
    - harvest()
    - harvest()
    - harvest()
    - harvest()
    - harvest()
    - harvest()
    - harvest()
    - harvest()
    - harvest()
    - harvest()
    + while True:
    + 	harvest()
    
    Write result the agent saw
    Saved main (2 lines).
    Game time: 1m 35s elapsed, 5h 58m 25s of budget remaining.
    run_program at 1m 35s for 120s (agent saw)
    Ran main for 2m of game time; it is still running.
    Inventory change: hay +240.
    Game time: 3m 45s elapsed, 5h 56m 15s of budget remaining.
    Output:
    (none)
  3. r315m 55sRan3 lines · +2 −1 · ran 1m 50s
    while True:
    	if can_harvest():
    		harvest()
    Changes from the previous revision
      while True:
    - 	harvest()
    + 	if can_harvest():
    + 		harvest()
    
    Write result the agent saw
    Saved main (3 lines).
    Game time: 16m 5s elapsed, 5h 43m 55s of budget remaining.
    run_program at 16m 05s for 60s (agent saw)
    Ran main for 1m of game time; it is still running.
    Inventory change: hay +120.
    Game time: 17m 15s elapsed, 5h 42m 45s of budget remaining.
    Output:
    (none)
  4. r418m 05sRan5 lines · +2 −0 · ran 3m 14s
    while True:
    	if can_harvest():
    		harvest()
    		plant(Entities.Bush)
    	move(North)
    Changes from the previous revision
      	if can_harvest():
      		harvest()
    + 		plant(Entities.Bush)
    + 	move(North)
    
    Write result the agent saw
    Saved main (5 lines).
    Game time: 18m 15s elapsed, 5h 41m 45s of budget remaining.
    run_program at 18m 15s for 120s (agent saw)
    Ran main for 2m of game time; it is still running.
    Inventory change: hay +3, wood +71.
    Game time: 20m 25s elapsed, 5h 39m 35s of budget remaining.
    Output:
    (none)
  5. r522m 18sRan39 lines · +35 −1 · ran 3m 20s
    while True:
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(North)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(West)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(West)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(North)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(North)
    	move(West)
    	move(West)
    Changes from the previous revision
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Bush)
    + 		plant(Entities.Carrot)
    + 	move(East)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
    + 	move(East)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
      	move(North)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
    + 	move(West)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
    + 	move(West)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
    + 	move(North)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
    + 	move(East)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
    + 	move(East)
    + 	if can_harvest():
    + 		harvest()
    + 		plant(Entities.Carrot)
    + 	move(North)
    + 	move(West)
    + 	move(West)
    
    Write result the agent saw
    Saved main (39 lines).
    Game time: 22m 28s elapsed, 5h 37m 32s of budget remaining.
    run_program at 22m 28s for 180s (agent saw)
    Ran main for 3m of game time; it is still running.
    Inventory change: carrot +31, hay -22, wood -22.
    Game time: 25m 38s elapsed, 5h 34m 22s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
  6. r626m 28sRan37 lines · +4 −6 · ran 5m 30s
    while True:
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    		plant(Entities.Bush)
    	move(East)
    	if can_harvest():
    		harvest()
    		plant(Entities.Bush)
    	move(North)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(West)
    	if can_harvest():
    		harvest()
    		plant(Entities.Bush)
    	move(West)
    	if can_harvest():
    		harvest()
    	move(North)
    	if can_harvest():
    		harvest()
    		plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    		plant(Entities.Bush)
    	move(East)
    	if can_harvest():
    		harvest()
    	move(North)
    	move(West)
    	move(West)
    Changes from the previous revision
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
    + 		plant(Entities.Bush)
      	move(East)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
    + 		plant(Entities.Bush)
      	move(North)
      	if can_harvest():
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
    + 		plant(Entities.Bush)
      	move(West)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
      	move(North)
      	if can_harvest():
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
    + 		plant(Entities.Bush)
      	move(East)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
      	move(North)
      	move(West)
    
    Write result the agent saw
    Saved main (37 lines).
    Game time: 26m 38s elapsed, 5h 33m 22s of budget remaining.
    run_program at 26m 51s for 300s (agent saw)
    Ran main for 5m of game time; it is still running.
    Inventory change: wood +195.
    Game time: 32m 1s elapsed, 5h 27m 59s of budget remaining.
    Output:
    (none)
  7. r732m 31sRan39 lines · +9 −7 · ran 5m 30s
    while True:
    	if can_harvest():
    		harvest()
    	plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    	plant(Entities.Bush)
    	move(East)
    	if can_harvest():
    		harvest()
    	plant(Entities.Bush)
    	move(North)
    	if can_harvest():
    		harvest()
    	plant(Entities.Carrot)
    	move(West)
    	if can_harvest():
    		harvest()
    	plant(Entities.Bush)
    	move(West)
    	if can_harvest():
    		harvest()
    	plant(Entities.Grass)
    	move(North)
    	if can_harvest():
    		harvest()
    	plant(Entities.Carrot)
    	move(East)
    	if can_harvest():
    		harvest()
    	plant(Entities.Bush)
    	move(East)
    	if can_harvest():
    		harvest()
    	plant(Entities.Grass)
    	move(North)
    	move(West)
    	move(West)
    Changes from the previous revision
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
    + 	plant(Entities.Carrot)
      	move(East)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Bush)
    + 	plant(Entities.Bush)
      	move(East)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Bush)
    + 	plant(Entities.Bush)
      	move(North)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
    + 	plant(Entities.Carrot)
      	move(West)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Bush)
    + 	plant(Entities.Bush)
      	move(West)
      	if can_harvest():
      		harvest()
    + 	plant(Entities.Grass)
      	move(North)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Carrot)
    + 	plant(Entities.Carrot)
      	move(East)
      	if can_harvest():
      		harvest()
    - 		plant(Entities.Bush)
    + 	plant(Entities.Bush)
      	move(East)
      	if can_harvest():
      		harvest()
    + 	plant(Entities.Grass)
      	move(North)
      	move(West)
    
    Write result the agent saw
    Saved main (39 lines).
    Game time: 32m 41s elapsed, 5h 27m 19s of budget remaining.
    run_program at 32m 41s for 300s (agent saw)
    Ran main for 5m of game time; it is still running.
    Inventory change: carrot +198, hay +116, wood +254.
    Game time: 37m 51s elapsed, 5h 22m 9s of budget remaining.
    Output:
    (none)
  8. r838m 21sSaved, never run41 lines · +39 −37
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if x == 0:
    		return Entities.Grass
    	if x == 2:
    		return Entities.Carrot
    	if x == 3:
    		return Entities.Carrot
    	if y % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if e == Entities.Carrot:
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    
    size = get_world_size()
    while True:
    	row = 0
    	while row < size:
    		col = 0
    		while col < size:
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    			col = col + 1
    		row = row + 1
    Changes from the previous revision
    - while True:
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Carrot)
    - 	move(East)
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Bush)
    - 	move(East)
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Bush)
    - 	move(North)
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Carrot)
    - 	move(West)
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Bush)
    - 	move(West)
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Grass)
    - 	move(North)
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Carrot)
    - 	move(East)
    - 	if can_harvest():
    - 		harvest()
    - 	plant(Entities.Bush)
    - 	move(East)
    + def get_plant():
    + 	x = get_pos_x()
    + 	y = get_pos_y()
    + 	if x == 0:
    + 		return Entities.Grass
    + 	if x == 2:
    + 		return Entities.Carrot
    + 	if x == 3:
    + 		return Entities.Carrot
    + 	if y % 2 == 0:
    + 		return Entities.Tree
    + 	return Entities.Bush
    + 
    + def visit():
      	if can_harvest():
      		harvest()
    - 	plant(Entities.Grass)
    - 	move(North)
    - 	move(West)
    - 	move(West)
    + 	e = get_plant()
    + 	if e == Entities.Carrot:
    + 		if get_ground_type() != Grounds.Soil:
    + 			till()
    + 	else:
    + 		if get_ground_type() != Grounds.Grassland:
    + 			till()
    + 	plant(e)
    + 
    + size = get_world_size()
    + while True:
    + 	row = 0
    + 	while row < size:
    + 		col = 0
    + 		while col < size:
    + 			visit()
    + 			if col < size - 1:
    + 				if row % 2 == 0:
    + 					move(East)
    + 				else:
    + 					move(West)
    + 			elif row < size - 1:
    + 				move(North)
    + 			col = col + 1
    + 		row = row + 1
    
    Write result the agent saw
    Saved main (41 lines).
    Game time: 38m 31s elapsed, 5h 21m 29s of budget remaining.
  9. r938m 31sRan48 lines · +7 −0 · ran 14m 37s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if x == 0:
    		return Entities.Grass
    	if x == 2:
    		return Entities.Carrot
    	if x == 3:
    		return Entities.Carrot
    	if y % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if e == Entities.Carrot:
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    
    def go_home():
    	while get_pos_x() > 0:
    		move(West)
    	while get_pos_y() > 0:
    		move(South)
    
    size = get_world_size()
    while True:
    	go_home()
    	row = 0
    	while row < size:
    		col = 0
    		while col < size:
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    			col = col + 1
    		row = row + 1
    Changes from the previous revision
      	plant(e)
      
    + def go_home():
    + 	while get_pos_x() > 0:
    + 		move(West)
    + 	while get_pos_y() > 0:
    + 		move(South)
    + 
      size = get_world_size()
      while True:
    + 	go_home()
      	row = 0
      	while row < size:
    
    Write result the agent saw
    Saved main (48 lines).
    Game time: 38m 41s elapsed, 5h 21m 19s of budget remaining.
    run_program at 38m 41s for 300s (agent saw)
    Ran main for 5m of game time; it is still running.
    Inventory change: carrot +501, hay -28, water +30, wood +644.
    Game time: 43m 51s elapsed, 5h 16m 9s of budget remaining.
    Output:
    (none)
  10. r1053m 29sRan61 lines · +23 −10 · ran 5m 40s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 3:
    		if x >= 3:
    			return Entities.Pumpkin
    		return Entities.Sunflower
    	if y == 2:
    		if x >= 3:
    			return Entities.Sunflower
    		return Entities.Carrot
    	if x <= 1:
    		return Entities.Grass
    	if x == 3:
    		return Entities.Carrot
    	if x == 4:
    		return Entities.Carrot
    	if y % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    
    def go_home():
    	while get_pos_x() > 0:
    		move(West)
    	while get_pos_y() > 0:
    		move(South)
    
    size = get_world_size()
    while True:
    	go_home()
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    Changes from the previous revision
      	x = get_pos_x()
      	y = get_pos_y()
    - 	if x == 0:
    - 		return Entities.Grass
    - 	if x == 2:
    + 	if y >= 3:
    + 		if x >= 3:
    + 			return Entities.Pumpkin
    + 		return Entities.Sunflower
    + 	if y == 2:
    + 		if x >= 3:
    + 			return Entities.Sunflower
      		return Entities.Carrot
    + 	if x <= 1:
    + 		return Entities.Grass
      	if x == 3:
      		return Entities.Carrot
    + 	if x == 4:
    + 		return Entities.Carrot
      	if y % 2 == 0:
      		return Entities.Tree
      	return Entities.Bush
      
    + def needs_soil(e):
    + 	if e == Entities.Carrot:
    + 		return True
    + 	if e == Entities.Pumpkin:
    + 		return True
    + 	if e == Entities.Sunflower:
    + 		return True
    + 	return False
    + 
      def visit():
      	if can_harvest():
      		harvest()
      	e = get_plant()
    - 	if e == Entities.Carrot:
    + 	if needs_soil(e):
      		if get_ground_type() != Grounds.Soil:
      			till()
      while True:
      	go_home()
    - 	row = 0
    - 	while row < size:
    - 		col = 0
    - 		while col < size:
    + 	for row in range(size):
    + 		for col in range(size):
      			visit()
      			if col < size - 1:
      			elif row < size - 1:
      				move(North)
    - 			col = col + 1
    - 		row = row + 1
    
    Write result the agent saw
    Saved main (61 lines).
    Game time: 53m 39s elapsed, 5h 6m 21s of budget remaining.
    run_program at 53m 39s for 300s (agent saw)
    Ran main for 5m of game time; it is still running.
    Inventory change: carrot -140, fertilizer +30, hay +72, power +282.86, pumpkin +219, water +30, wood +405.
    Game time: 58m 49s elapsed, 5h 1m 11s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Pumpkin.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  11. r1159m 29sRan62 lines · +7 −6 · ran 10m 20s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 3:
    		if x >= 3:
    			return Entities.Pumpkin
    		return Entities.Sunflower
    	if y == 2:
    		if x == 0:
    			return Entities.Sunflower
    		return Entities.Carrot
    	if x <= 3:
    		return Entities.Grass
    	if x == 4:
    		return Entities.Carrot
    	if y == 0:
    		return Entities.Carrot
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 20:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def go_home():
    	while get_pos_x() > 0:
    		move(West)
    	while get_pos_y() > 0:
    		move(South)
    
    size = get_world_size()
    while True:
    	go_home()
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    Changes from the previous revision
      		return Entities.Sunflower
      	if y == 2:
    - 		if x >= 3:
    + 		if x == 0:
      			return Entities.Sunflower
      		return Entities.Carrot
    - 	if x <= 1:
    + 	if x <= 3:
      		return Entities.Grass
    - 	if x == 3:
    - 		return Entities.Carrot
      	if x == 4:
      		return Entities.Carrot
    - 	if y % 2 == 0:
    - 		return Entities.Tree
    + 	if y == 0:
    + 		return Entities.Carrot
      	return Entities.Bush
      
      			till()
      	plant(e)
    + 	if num_items(Items.Water) > 20:
    + 		if get_water() < 0.3:
    + 			use_item(Items.Water)
      
      def go_home():
    
    Write result the agent saw
    Saved main (62 lines).
    Game time: 59m 39s elapsed, 5h 21s of budget remaining.
    run_program at 59m 39s for 600s (agent saw)
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +2, fertilizer +60, hay +308, power +255.09, pumpkin +486, water -109, wood -465.
    Game time: 1h 9m 49s elapsed, 4h 50m 11s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Sunflower.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  12. r121h 10mRan72 lines · +14 −4 · ran 10m 30s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 3:
    		if x >= 3:
    			return Entities.Pumpkin
    		return Entities.Sunflower
    	if y == 2:
    		if x == 0:
    			return Entities.Sunflower
    		return Entities.Carrot
    	if y == 0:
    		if x <= 1:
    			return Entities.Grass
    		if x == 2:
    			return Entities.Tree
    		if x == 3:
    			return Entities.Carrot
    		if x == 4:
    			return Entities.Tree
    		return Entities.Carrot
    	if x <= 2:
    		return Entities.Grass
    	if x == 3:
    		return Entities.Tree
    	if x == 4:
    		return Entities.Carrot
    	return Entities.Tree
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 20:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def go_home():
    	while get_pos_x() > 0:
    		move(West)
    	while get_pos_y() > 0:
    		move(South)
    
    size = get_world_size()
    while True:
    	go_home()
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    Changes from the previous revision
      			return Entities.Sunflower
      		return Entities.Carrot
    - 	if x <= 3:
    + 	if y == 0:
    + 		if x <= 1:
    + 			return Entities.Grass
    + 		if x == 2:
    + 			return Entities.Tree
    + 		if x == 3:
    + 			return Entities.Carrot
    + 		if x == 4:
    + 			return Entities.Tree
    + 		return Entities.Carrot
    + 	if x <= 2:
      		return Entities.Grass
    + 	if x == 3:
    + 		return Entities.Tree
      	if x == 4:
      		return Entities.Carrot
    - 	if y == 0:
    - 		return Entities.Carrot
    - 	return Entities.Bush
    + 	return Entities.Tree
      
      def needs_soil(e):
    
    Write result the agent saw
    Saved main (72 lines).
    Game time: 1h 10m 19s elapsed, 4h 49m 41s of budget remaining.
    run_program at 1h 10m for 600s (agent saw)
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +6, fertilizer +60, hay +20, power +281.07, pumpkin +580, water -2, wood +1540.
    Game time: 1h 20m 29s elapsed, 4h 39m 31s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Sunflower.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  13. r131h 20mRan64 lines · +14 −22 · ran 38m 24s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 4:
    		if x >= 4:
    			return Entities.Pumpkin
    		if y == 4:
    			return Entities.Carrot
    		return Entities.Sunflower
    	if x <= 1:
    		return Entities.Grass
    	if x == 2:
    		if y % 2 == 0:
    			return Entities.Tree
    		return Entities.Bush
    	if x == 7:
    		if y % 2 == 0:
    			return Entities.Bush
    		return Entities.Tree
    	return Entities.Carrot
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def go_home():
    	while get_pos_x() > 0:
    		move(West)
    	while get_pos_y() > 0:
    		move(South)
    
    size = get_world_size()
    while True:
    	go_home()
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    Changes from the previous revision
      	x = get_pos_x()
      	y = get_pos_y()
    - 	if y >= 3:
    - 		if x >= 3:
    + 	if y >= 4:
    + 		if x >= 4:
      			return Entities.Pumpkin
    - 		return Entities.Sunflower
    - 	if y == 2:
    - 		if x == 0:
    - 			return Entities.Sunflower
    - 		return Entities.Carrot
    - 	if y == 0:
    - 		if x <= 1:
    - 			return Entities.Grass
    - 		if x == 2:
    - 			return Entities.Tree
    - 		if x == 3:
    + 		if y == 4:
      			return Entities.Carrot
    - 		if x == 4:
    - 			return Entities.Tree
    - 		return Entities.Carrot
    - 	if x <= 2:
    + 		return Entities.Sunflower
    + 	if x <= 1:
      		return Entities.Grass
    - 	if x == 3:
    + 	if x == 2:
    + 		if y % 2 == 0:
    + 			return Entities.Tree
    + 		return Entities.Bush
    + 	if x == 7:
    + 		if y % 2 == 0:
    + 			return Entities.Bush
      		return Entities.Tree
    - 	if x == 4:
    - 		return Entities.Carrot
    - 	return Entities.Tree
    + 	return Entities.Carrot
      
      def needs_soil(e):
      			till()
      	plant(e)
    - 	if num_items(Items.Water) > 20:
    + 	if num_items(Items.Water) > 30:
      		if get_water() < 0.3:
      			use_item(Items.Water)
    
    Write result the agent saw
    Saved main (64 lines).
    Game time: 1h 21m 9s elapsed, 4h 38m 51s of budget remaining.
    run_program at 1h 21m for 600s (agent saw)
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +903, fertilizer +60, hay -350, power +668.07, pumpkin +850, water +8, wood +404.
    Game time: 1h 31m 19s elapsed, 4h 28m 41s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Sunflower.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  14. r141h 59mRan111 lines · +58 −11 · ran 10m 30s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 5:
    		if x >= 4:
    			return Entities.Pumpkin
    		return Entities.Cactus
    	if y == 4:
    		if x >= 4:
    			return Entities.Pumpkin
    		return Entities.Carrot
    	if x <= 1:
    		return Entities.Grass
    	if x == 2:
    		if y % 2 == 0:
    			return Entities.Tree
    		return Entities.Bush
    	if x == 7:
    		if y % 2 == 0:
    			return Entities.Bush
    		return Entities.Tree
    	return Entities.Carrot
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Cactus:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    def visit():
    	e = get_plant()
    	if e == Entities.Cactus:
    		if get_ground_type() != Grounds.Soil:
    			till()
    		if get_entity_type() == None:
    			plant(e)
    		return
    	if can_harvest():
    		harvest()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def sort_cactus():
    	for p in range(24):
    		swapped = False
    		goto(0, 5)
    		for row in range(3):
    			for col in range(4):
    				if get_entity_type() == Entities.Cactus:
    					a = measure()
    					if col < 3:
    						b = measure(East)
    						if b != None and a != None and b < a:
    							swap(East)
    							swapped = True
    					if row < 2:
    						b = measure(North)
    						if b != None and a != None and b < a:
    							swap(North)
    							swapped = True
    				if col < 3:
    					move(East)
    			if row < 2:
    				move(West)
    				move(West)
    				move(West)
    				move(North)
    		if not swapped:
    			break
    	goto(0, 5)
    	if get_entity_type() == Entities.Cactus:
    		if can_harvest():
    			harvest()
    
    size = get_world_size()
    while True:
    	goto(0, 0)
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    	sort_cactus()
    Changes from the previous revision
      	x = get_pos_x()
      	y = get_pos_y()
    - 	if y >= 4:
    + 	if y >= 5:
      		if x >= 4:
      			return Entities.Pumpkin
    - 		if y == 4:
    - 			return Entities.Carrot
    - 		return Entities.Sunflower
    + 		return Entities.Cactus
    + 	if y == 4:
    + 		if x >= 4:
    + 			return Entities.Pumpkin
    + 		return Entities.Carrot
      	if x <= 1:
      		return Entities.Grass
      	if e == Entities.Pumpkin:
      		return True
    + 	if e == Entities.Cactus:
    + 		return True
      	if e == Entities.Sunflower:
      		return True
      	return False
      
    + def goto(tx, ty):
    + 	while get_pos_x() < tx:
    + 		move(East)
    + 	while get_pos_x() > tx:
    + 		move(West)
    + 	while get_pos_y() < ty:
    + 		move(North)
    + 	while get_pos_y() > ty:
    + 		move(South)
    + 
      def visit():
    + 	e = get_plant()
    + 	if e == Entities.Cactus:
    + 		if get_ground_type() != Grounds.Soil:
    + 			till()
    + 		if get_entity_type() == None:
    + 			plant(e)
    + 		return
      	if can_harvest():
      		harvest()
    - 	e = get_plant()
      	if needs_soil(e):
      		if get_ground_type() != Grounds.Soil:
      			use_item(Items.Water)
      
    - def go_home():
    - 	while get_pos_x() > 0:
    - 		move(West)
    - 	while get_pos_y() > 0:
    - 		move(South)
    + def sort_cactus():
    + 	for p in range(24):
    + 		swapped = False
    + 		goto(0, 5)
    + 		for row in range(3):
    + 			for col in range(4):
    + 				if get_entity_type() == Entities.Cactus:
    + 					a = measure()
    + 					if col < 3:
    + 						b = measure(East)
    + 						if b != None and a != None and b < a:
    + 							swap(East)
    + 							swapped = True
    + 					if row < 2:
    + 						b = measure(North)
    + 						if b != None and a != None and b < a:
    + 							swap(North)
    + 							swapped = True
    + 				if col < 3:
    + 					move(East)
    + 			if row < 2:
    + 				move(West)
    + 				move(West)
    + 				move(West)
    + 				move(North)
    + 		if not swapped:
    + 			break
    + 	goto(0, 5)
    + 	if get_entity_type() == Entities.Cactus:
    + 		if can_harvest():
    + 			harvest()
      
      size = get_world_size()
      while True:
    - 	go_home()
    + 	goto(0, 0)
      	for row in range(size):
      		for col in range(size):
      			elif row < size - 1:
      				move(North)
    + 	sort_cactus()
    
    Write result the agent saw
    Saved main (111 lines).
    Game time: 1h 59m 52s elapsed, 4h 8s of budget remaining.
    run_program at 1h 59m for 600s (agent saw)
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +4216, fertilizer +60, hay -1180, power -404.89, pumpkin +2498, water -4, wood -1628.
    Game time: 2h 10m 2s elapsed, 3h 49m 58s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  15. r152h 10mRan112 lines · +14 −13 · ran 22m 57s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 5:
    		if x >= 4:
    			return Entities.Pumpkin
    		return Entities.Cactus
    	if y == 4:
    		if x >= 4:
    			return Entities.Pumpkin
    		return Entities.Sunflower
    	if x == 0:
    		return Entities.Grass
    	if x == 1:
    		return Entities.Grass
    	if x == 3:
    		return Entities.Carrot
    	if x == 5:
    		return Entities.Carrot
    	if x == 6:
    		return Entities.Grass
    	if (x + y) % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Cactus:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    def visit():
    	e = get_plant()
    	if e == Entities.Cactus:
    		if get_entity_type() != None and get_entity_type() != Entities.Cactus:
    			harvest()
    		if get_ground_type() != Grounds.Soil:
    			till()
    		if get_entity_type() == None:
    			plant(e)
    		return
    	if can_harvest():
    		harvest()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def sort_cactus():
    	for p in range(24):
    		swapped = False
    		goto(0, 5)
    		for row in range(3):
    			for col in range(4):
    				if get_entity_type() == Entities.Cactus:
    					a = measure()
    					if col < 3:
    						b = measure(East)
    						if b != None and a != None and b < a:
    							swap(East)
    							swapped = True
    					if row < 2:
    						b = measure(North)
    						if b != None and a != None and b < a:
    							swap(North)
    							swapped = True
    				if col < 3:
    					move(East)
    			if row < 2:
    				goto(0, 5 + row + 1)
    		if not swapped:
    			break
    	goto(0, 5)
    	if get_entity_type() == Entities.Cactus:
    		if can_harvest():
    			harvest()
    
    size = get_world_size()
    while True:
    	goto(0, 0)
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    	sort_cactus()
    Changes from the previous revision
      		if x >= 4:
      			return Entities.Pumpkin
    + 		return Entities.Sunflower
    + 	if x == 0:
    + 		return Entities.Grass
    + 	if x == 1:
    + 		return Entities.Grass
    + 	if x == 3:
      		return Entities.Carrot
    - 	if x <= 1:
    + 	if x == 5:
    + 		return Entities.Carrot
    + 	if x == 6:
      		return Entities.Grass
    - 	if x == 2:
    - 		if y % 2 == 0:
    - 			return Entities.Tree
    - 		return Entities.Bush
    - 	if x == 7:
    - 		if y % 2 == 0:
    - 			return Entities.Bush
    + 	if (x + y) % 2 == 0:
      		return Entities.Tree
    - 	return Entities.Carrot
    + 	return Entities.Bush
      
      def needs_soil(e):
      	e = get_plant()
      	if e == Entities.Cactus:
    + 		if get_entity_type() != None and get_entity_type() != Entities.Cactus:
    + 			harvest()
      		if get_ground_type() != Grounds.Soil:
      			till()
      					move(East)
      			if row < 2:
    - 				move(West)
    - 				move(West)
    - 				move(West)
    - 				move(North)
    + 				goto(0, 5 + row + 1)
      		if not swapped:
      			break
    
    Write result the agent saw
    Saved main (112 lines).
    Game time: 2h 10m 42s elapsed, 3h 49m 18s of budget remaining.
    run_program at 2h 10m for 600s (agent saw)
    Ran main for 10m of game time; it is still running.
    Inventory change: cactus +5616, carrot +616, fertilizer +60, hay +1696, power -236.90, pumpkin +712, water -4, wood +3928.
    Game time: 2h 20m 52s elapsed, 3h 39m 8s of budget remaining.
    Output:
    (none)
  16. r162h 33mRan104 lines · +15 −23 · ran 15m 10s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 6:
    		if x >= 6:
    			return Entities.Pumpkin
    		return Entities.Cactus
    	if y == 5:
    		return Entities.Sunflower
    	if x == 0 or x == 1 or x == 6 or x == 7:
    		return Entities.Grass
    	if x == 3 or x == 4 or x == 8 or x == 9 or x == 11:
    		return Entities.Carrot
    	if (x + y) % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Cactus:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    def visit():
    	e = get_plant()
    	if e == Entities.Cactus:
    		if get_entity_type() != None and get_entity_type() != Entities.Cactus:
    			harvest()
    		if get_ground_type() != Grounds.Soil:
    			till()
    		if get_entity_type() == None:
    			plant(e)
    		return
    	if can_harvest():
    		harvest()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def sort_cactus():
    	for p in range(40):
    		swapped = False
    		goto(0, 6)
    		for row in range(6):
    			for col in range(6):
    				if get_entity_type() == Entities.Cactus:
    					a = measure()
    					if col < 5:
    						b = measure(East)
    						if b != None and a != None and b < a:
    							swap(East)
    							swapped = True
    					if row < 5:
    						b = measure(North)
    						if b != None and a != None and b < a:
    							swap(North)
    							swapped = True
    				if col < 5:
    					move(East)
    			if row < 5:
    				goto(0, 6 + row + 1)
    		if not swapped:
    			break
    	goto(0, 6)
    	if get_entity_type() == Entities.Cactus:
    		if can_harvest():
    			harvest()
    
    size = get_world_size()
    while True:
    	goto(0, 0)
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    	sort_cactus()
    Changes from the previous revision
      	x = get_pos_x()
      	y = get_pos_y()
    - 	if y >= 5:
    - 		if x >= 4:
    + 	if y >= 6:
    + 		if x >= 6:
      			return Entities.Pumpkin
      		return Entities.Cactus
    - 	if y == 4:
    - 		if x >= 4:
    - 			return Entities.Pumpkin
    + 	if y == 5:
      		return Entities.Sunflower
    - 	if x == 0:
    - 		return Entities.Grass
    - 	if x == 1:
    + 	if x == 0 or x == 1 or x == 6 or x == 7:
      		return Entities.Grass
    - 	if x == 3:
    - 		return Entities.Carrot
    - 	if x == 5:
    + 	if x == 3 or x == 4 or x == 8 or x == 9 or x == 11:
      		return Entities.Carrot
    - 	if x == 6:
    - 		return Entities.Grass
      	if (x + y) % 2 == 0:
      		return Entities.Tree
      
      def sort_cactus():
    - 	for p in range(24):
    + 	for p in range(40):
      		swapped = False
    - 		goto(0, 5)
    - 		for row in range(3):
    - 			for col in range(4):
    + 		goto(0, 6)
    + 		for row in range(6):
    + 			for col in range(6):
      				if get_entity_type() == Entities.Cactus:
      					a = measure()
    - 					if col < 3:
    + 					if col < 5:
      						b = measure(East)
      						if b != None and a != None and b < a:
      							swap(East)
      							swapped = True
    - 					if row < 2:
    + 					if row < 5:
      						b = measure(North)
      						if b != None and a != None and b < a:
      							swap(North)
      							swapped = True
    - 				if col < 3:
    + 				if col < 5:
      					move(East)
    - 			if row < 2:
    - 				goto(0, 5 + row + 1)
    + 			if row < 5:
    + 				goto(0, 6 + row + 1)
      		if not swapped:
      			break
    - 	goto(0, 5)
    + 	goto(0, 6)
      	if get_entity_type() == Entities.Cactus:
      		if can_harvest():
    
    Write result the agent saw
    Saved main (104 lines).
    Game time: 2h 33m 59s elapsed, 3h 26m 1s of budget remaining.
    run_program at 2h 33m for 900s (agent saw)
    Ran main for 15m of game time; it is still running.
    Inventory change: cactus +33696, carrot -172, fertilizer +90, hay +1132, power -256.11, pumpkin +3664, water -4, wood +2272.
    Game time: 2h 49m 9s elapsed, 3h 10m 51s of budget remaining.
    Output:
    (none)
  17. r172h 49mRanFinal107 lines · +3 −0 · ran 30m 40s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y >= 6:
    		if x >= 6:
    			return Entities.Pumpkin
    		return Entities.Cactus
    	if y == 5:
    		return Entities.Sunflower
    	if x == 0 or x == 1 or x == 6 or x == 7:
    		return Entities.Grass
    	if x == 3 or x == 4 or x == 8 or x == 9 or x == 11:
    		return Entities.Carrot
    	if (x + y) % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Cactus:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    def visit():
    	e = get_plant()
    	if e == Entities.Cactus:
    		if get_entity_type() != None and get_entity_type() != Entities.Cactus:
    			harvest()
    		if get_ground_type() != Grounds.Soil:
    			till()
    		if get_entity_type() == None:
    			plant(e)
    			if num_items(Items.Weird_Substance) < 1200:
    				if num_items(Items.Fertilizer) > 20:
    					use_item(Items.Fertilizer)
    		return
    	if can_harvest():
    		harvest()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def sort_cactus():
    	for p in range(40):
    		swapped = False
    		goto(0, 6)
    		for row in range(6):
    			for col in range(6):
    				if get_entity_type() == Entities.Cactus:
    					a = measure()
    					if col < 5:
    						b = measure(East)
    						if b != None and a != None and b < a:
    							swap(East)
    							swapped = True
    					if row < 5:
    						b = measure(North)
    						if b != None and a != None and b < a:
    							swap(North)
    							swapped = True
    				if col < 5:
    					move(East)
    			if row < 5:
    				goto(0, 6 + row + 1)
    		if not swapped:
    			break
    	goto(0, 6)
    	if get_entity_type() == Entities.Cactus:
    		if can_harvest():
    			harvest()
    
    size = get_world_size()
    while True:
    	goto(0, 0)
    	for row in range(size):
    		for col in range(size):
    			visit()
    			if col < size - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < size - 1:
    				move(North)
    	sort_cactus()
    Changes from the previous revision
      		if get_entity_type() == None:
      			plant(e)
    + 			if num_items(Items.Weird_Substance) < 1200:
    + 				if num_items(Items.Fertilizer) > 20:
    + 					use_item(Items.Fertilizer)
      		return
      	if can_harvest():
    
    Write result the agent saw
    Saved main (107 lines).
    Game time: 2h 49m 29s elapsed, 3h 10m 31s of budget remaining.
    run_program at 2h 49m for 900s (agent saw)
    Ran main for 15m of game time; it is still running.
    Inventory change: cactus +32400, carrot +40, fertilizer +18, hay +820, power -258.11, pumpkin +3544, water -3, weird_substance +1296, wood +2286.
    Game time: 3h 4m 39s elapsed, 2h 55m 21s of budget remaining.
    Output:
    (none)
    run_program at 3h 11m for 900s (agent saw)
    Ran main for 15m of game time; it is still running.
    Inventory change: cactus +29808, carrot -284, fertilizer +108, hay +5204, power -308.08, pumpkin +3336, water -80, weird_substance +1296, wood +6144.
    Game time: 3h 27m 2s elapsed, 2h 32m 58s of budget remaining.
    Output:
    (none)
setup_carrot.py1 write · 1 ran · first at 21m 39s
  1. r121m 39sRanFinal38 lines · ran 8s
    harvest()
    till()
    plant(Entities.Carrot)
    move(East)
    harvest()
    till()
    plant(Entities.Carrot)
    move(East)
    harvest()
    till()
    plant(Entities.Carrot)
    move(North)
    harvest()
    till()
    plant(Entities.Carrot)
    move(West)
    harvest()
    till()
    plant(Entities.Carrot)
    move(West)
    harvest()
    till()
    plant(Entities.Carrot)
    move(North)
    harvest()
    till()
    plant(Entities.Carrot)
    move(East)
    harvest()
    till()
    plant(Entities.Carrot)
    move(East)
    harvest()
    till()
    plant(Entities.Carrot)
    move(North)
    move(West)
    move(West)
    Write result the agent saw
    Saved setup_carrot (38 lines).
    Game time: 21m 49s elapsed, 5h 38m 11s of budget remaining.
    run_program at 21m 49s for 120s (agent saw)
    Ran setup_carrot for 9s of game time; it finished.
    Inventory change: hay +1, wood -2.
    Game time: 22m 8s elapsed, 5h 37m 52s of budget remaining.
    Output:
    (none)
setup_mix.py1 write · 1 ran · first at 26m 18s
  1. r126m 18sRanFinal26 lines · ran 3s
    harvest()
    plant(Entities.Carrot)
    move(East)
    harvest()
    plant(Entities.Bush)
    move(East)
    harvest()
    plant(Entities.Bush)
    move(North)
    harvest()
    plant(Entities.Carrot)
    move(West)
    harvest()
    plant(Entities.Bush)
    move(West)
    move(North)
    harvest()
    plant(Entities.Carrot)
    move(East)
    harvest()
    plant(Entities.Bush)
    move(East)
    harvest()
    move(North)
    move(West)
    move(West)
    Write result the agent saw
    Saved setup_mix (26 lines).
    Game time: 26m 28s elapsed, 5h 33m 32s of budget remaining.
    run_program at 26m 38s for 60s (agent saw)
    Ran setup_mix for 3s of game time; it finished.
    Inventory change: no change.
    Game time: 26m 51s elapsed, 5h 33m 9s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
maze.py1 write · 1 ran · first at 3h 05m
  1. r13h 05mRanFinal32 lines · ran 41m 44s
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    dirs = [North, East, South, West]
    clear()
    while True:
    	goto(0, 0)
    	plant(Entities.Bush)
    	subst = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1)
    	use_item(Items.Weird_Substance, subst)
    	heading = 1
    	steps = 0
    	while get_entity_type() != Entities.Treasure and steps < 10000:
    		for offset in [1, 0, 3, 2]:
    			nd = (heading + offset) % 4
    			if can_move(dirs[nd]):
    				move(dirs[nd])
    				heading = nd
    				break
    		steps = steps + 1
    	if get_entity_type() == Entities.Treasure:
    		harvest()
    	else:
    		harvest()
    		break
    Write result the agent saw
    Saved maze (32 lines).
    Game time: 3h 5m 19s elapsed, 2h 54m 41s of budget remaining.
    run_program at 3h 05m for 300s (agent saw)
    Ran maze for 5m of game time; it is still running.
    Inventory change: fertilizer +30, gold +3456, power -303.60, water +60, weird_substance -288.
    Game time: 3h 10m 29s elapsed, 2h 49m 31s of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    --------------------------------------------------------------------
    run_program at 3h 27m for 900s (agent saw)
    Ran maze for 11m 38s of game time; it finished.
    Inventory change: fertilizer +140, gold +15552, power -706.74, water +280, weird_substance -1296, wood +20.
    Game time: 3h 39m elapsed, 2h 21m of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    --------------------------------------------------------------------
    run_program at 4h 35m for 1500s (agent saw)
    Ran maze for 12m 36s of game time; it finished.
    Inventory change: fertilizer +302, gold +40960, power -765.27, water +604, weird_substance -2560, wood +80.
    Game time: 4h 48m 10s elapsed, 1h 11m 50s of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    --------------------------------------------------------------------
    run_program at 5h 09m for 720s (agent saw)
    Ran maze for 12m of game time; it is still running.
    Inventory change: fertilizer +288, gold +65536, power -728.95, water +576, weird_substance -4096.
    Game time: 5h 21m 20s elapsed, 38m 40s of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    --------------------------------------------------------------------
probe.py1 write · 1 ran · first at 3h 11m
  1. r13h 11mRanFinal3 lines · ran 3s
    print(max_drones())
    print(num_drones())
    print(num_unlocked(Unlocks.Megafarm))
    Write result the agent saw
    Saved probe (3 lines).
    Game time: 3h 11m 19s elapsed, 2h 48m 41s of budget remaining.
    run_program at 3h 11m for 30s (agent saw)
    Ran probe for 3s of game time; it finished.
    Inventory change: fertilizer +1, power -0.00, water +1.
    Game time: 3h 11m 32s elapsed, 2h 48m 28s of budget remaining.
    Output:
    2
    1
    1
multi.py2 writes · 2 ran · first at 3h 39m
  1. r13h 39mRan138 lines · ran 19m 31s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y == 5:
    		return Entities.Sunflower
    	if x % 6 == 0 or x % 6 == 1:
    		return Entities.Grass
    	if x % 6 == 3 or x % 6 == 4 or x % 6 == 5:
    		if x % 6 == 5 and y < 5:
    			if (x + y) % 2 == 0:
    				return Entities.Tree
    		return Entities.Carrot
    	if (x + y) % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Cactus:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def traverse_zone(x0, y0, mode):
    	goto(x0, y0)
    	ready = 0
    	for row in range(6):
    		for col in range(6):
    			if mode == 0:
    				visit()
    			elif mode == 1:
    				if get_entity_type() != None and get_entity_type() != Entities.Cactus:
    					harvest()
    				if get_ground_type() != Grounds.Soil:
    					till()
    				if get_entity_type() == None:
    					plant(Entities.Cactus)
    					if num_items(Items.Weird_Substance) < 2500:
    						if num_items(Items.Fertilizer) > 20:
    							use_item(Items.Fertilizer)
    			else:
    				et = get_entity_type()
    				if et == None or et == Entities.Dead_Pumpkin:
    					if get_ground_type() != Grounds.Soil:
    						till()
    					plant(Entities.Pumpkin)
    				elif et != Entities.Pumpkin:
    					harvest()
    					if get_ground_type() != Grounds.Soil:
    						till()
    					plant(Entities.Pumpkin)
    				elif can_harvest():
    					ready = ready + 1
    			if col < 5:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < 5:
    				move(North)
    	return ready
    
    def sort_harvest_cactus(x0, y0):
    	for p in range(40):
    		swapped = False
    		goto(x0, y0)
    		for row in range(6):
    			for col in range(6):
    				if get_entity_type() == Entities.Cactus:
    					a = measure()
    					if col < 5:
    						b = measure(East)
    						if b != None and a != None and b < a:
    							swap(East)
    							swapped = True
    					if row < 5:
    						b = measure(North)
    						if b != None and a != None and b < a:
    							swap(North)
    							swapped = True
    				if col < 5:
    					move(East)
    			if row < 5:
    				goto(x0, y0 + row + 1)
    		if not swapped:
    			break
    	goto(x0, y0)
    	if get_entity_type() == Entities.Cactus:
    		if can_harvest():
    			harvest()
    
    def farm_zone(x0, y0, kind):
    	while True:
    		if kind == 1:
    			traverse_zone(x0, y0, 1)
    			sort_harvest_cactus(x0, y0)
    		elif kind == 2:
    			ready = traverse_zone(x0, y0, 2)
    			if ready >= 36:
    				goto(x0, y0)
    				harvest()
    		else:
    			traverse_zone(x0, y0, 0)
    
    goto(0, 0)
    spawn_drone(farm_zone, 6, 0, 0)
    spawn_drone(farm_zone, 0, 6, 1)
    spawn_drone(farm_zone, 6, 6, 2)
    farm_zone(0, 0, 0)
    Write result the agent saw
    Saved multi (138 lines).
    Game time: 3h 39m 30s elapsed, 2h 20m 30s of budget remaining.
    run_program at 3h 39m for 900s (agent saw)
    Ran multi for 15m of game time; it is still running.
    Inventory change: cactus +47952, carrot +13146, fertilizer +36, hay +48608, power +633.90, pumpkin +63648, water -303, weird_substance +2592, wood +54452.
    Game time: 3h 54m 40s elapsed, 2h 5m 20s of budget remaining.
    Output:
    (none)
  2. r23h 59mRanFinal136 lines · +19 −21 · ran 30m 30s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y == 7:
    		return Entities.Sunflower
    	lx = x % 8
    	if lx == 0 or lx == 1 or lx == 6:
    		return Entities.Grass
    	if lx == 3 or lx == 4 or lx == 7:
    		return Entities.Carrot
    	if (x + y) % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Cactus:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def traverse_zone(x0, y0, mode):
    	goto(x0, y0)
    	ready = 0
    	for row in range(8):
    		for col in range(8):
    			if mode == 0:
    				visit()
    			elif mode == 1:
    				if get_entity_type() != None and get_entity_type() != Entities.Cactus:
    					harvest()
    				if get_ground_type() != Grounds.Soil:
    					till()
    				if get_entity_type() == None:
    					plant(Entities.Cactus)
    					if num_items(Items.Weird_Substance) < 2500:
    						if num_items(Items.Fertilizer) > 20:
    							use_item(Items.Fertilizer)
    			else:
    				et = get_entity_type()
    				if et == None or et == Entities.Dead_Pumpkin:
    					if get_ground_type() != Grounds.Soil:
    						till()
    					plant(Entities.Pumpkin)
    				elif et != Entities.Pumpkin:
    					harvest()
    					if get_ground_type() != Grounds.Soil:
    						till()
    					plant(Entities.Pumpkin)
    				elif can_harvest():
    					ready = ready + 1
    			if col < 7:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < 7:
    				move(North)
    	return ready
    
    def sort_harvest_cactus(x0, y0):
    	for p in range(60):
    		swapped = False
    		goto(x0, y0)
    		for row in range(8):
    			for col in range(8):
    				if get_entity_type() == Entities.Cactus:
    					a = measure()
    					if col < 7:
    						b = measure(East)
    						if b != None and a != None and b < a:
    							swap(East)
    							swapped = True
    					if row < 7:
    						b = measure(North)
    						if b != None and a != None and b < a:
    							swap(North)
    							swapped = True
    				if col < 7:
    					move(East)
    			if row < 7:
    				goto(x0, y0 + row + 1)
    		if not swapped:
    			break
    	goto(x0, y0)
    	if get_entity_type() == Entities.Cactus:
    		if can_harvest():
    			harvest()
    
    def farm_zone(x0, y0, kind):
    	while True:
    		if kind == 1:
    			traverse_zone(x0, y0, 1)
    			sort_harvest_cactus(x0, y0)
    		elif kind == 2:
    			ready = traverse_zone(x0, y0, 2)
    			if ready >= 64:
    				goto(x0, y0)
    				harvest()
    		else:
    			traverse_zone(x0, y0, 0)
    
    goto(0, 0)
    spawn_drone(farm_zone, 8, 0, 0)
    spawn_drone(farm_zone, 0, 8, 1)
    spawn_drone(farm_zone, 8, 8, 2)
    farm_zone(0, 0, 0)
    Changes from the previous revision
      	x = get_pos_x()
      	y = get_pos_y()
    - 	if y == 5:
    + 	if y == 7:
      		return Entities.Sunflower
    - 	if x % 6 == 0 or x % 6 == 1:
    + 	lx = x % 8
    + 	if lx == 0 or lx == 1 or lx == 6:
      		return Entities.Grass
    - 	if x % 6 == 3 or x % 6 == 4 or x % 6 == 5:
    - 		if x % 6 == 5 and y < 5:
    - 			if (x + y) % 2 == 0:
    - 				return Entities.Tree
    + 	if lx == 3 or lx == 4 or lx == 7:
      		return Entities.Carrot
      	if (x + y) % 2 == 0:
      	goto(x0, y0)
      	ready = 0
    - 	for row in range(6):
    - 		for col in range(6):
    + 	for row in range(8):
    + 		for col in range(8):
      			if mode == 0:
      				visit()
      				elif can_harvest():
      					ready = ready + 1
    - 			if col < 5:
    + 			if col < 7:
      				if row % 2 == 0:
      					move(East)
      				else:
      					move(West)
    - 			elif row < 5:
    + 			elif row < 7:
      				move(North)
      	return ready
      
      def sort_harvest_cactus(x0, y0):
    - 	for p in range(40):
    + 	for p in range(60):
      		swapped = False
      		goto(x0, y0)
    - 		for row in range(6):
    - 			for col in range(6):
    + 		for row in range(8):
    + 			for col in range(8):
      				if get_entity_type() == Entities.Cactus:
      					a = measure()
    - 					if col < 5:
    + 					if col < 7:
      						b = measure(East)
      						if b != None and a != None and b < a:
      							swap(East)
      							swapped = True
    - 					if row < 5:
    + 					if row < 7:
      						b = measure(North)
      						if b != None and a != None and b < a:
      							swap(North)
      							swapped = True
    - 				if col < 5:
    + 				if col < 7:
      					move(East)
    - 			if row < 5:
    + 			if row < 7:
      				goto(x0, y0 + row + 1)
      		if not swapped:
      		elif kind == 2:
      			ready = traverse_zone(x0, y0, 2)
    - 			if ready >= 36:
    + 			if ready >= 64:
      				goto(x0, y0)
      				harvest()
      
      goto(0, 0)
    - spawn_drone(farm_zone, 6, 0, 0)
    - spawn_drone(farm_zone, 0, 6, 1)
    - spawn_drone(farm_zone, 6, 6, 2)
    + spawn_drone(farm_zone, 8, 0, 0)
    + spawn_drone(farm_zone, 0, 8, 1)
    + spawn_drone(farm_zone, 8, 8, 2)
      farm_zone(0, 0, 0)
    
    Write result the agent saw
    Saved multi (136 lines).
    Game time: 3h 59m 22s elapsed, 2h 38s of budget remaining.
    run_program at 3h 59m for 900s (agent saw)
    Ran multi for 15m of game time; it is still running.
    Inventory change: cactus +131166, carrot +90399, fertilizer +360, hay +153416, power +11.58, pumpkin +75608, water -16, wood +225104.
    Game time: 4h 14m 32s elapsed, 1h 45m 28s of budget remaining.
    Output:
    (none)
    run_program at 4h 19m for 900s (agent saw)
    Ran multi for 15m of game time; it is still running.
    Inventory change: cactus +131072, carrot +86720, fertilizer +360, hay +165992, power +316.92, pumpkin +78592, water -257, wood +240576.
    Game time: 4h 35m 4s elapsed, 1h 24m 56s of budget remaining.
    Output:
    (none)
dino.py2 writes · 2 ran · first at 4h 14m
  1. r14h 14mRan28 lines · ran 46s
    def go_cycle():
    	for i in range(15):
    		if move(East) == False:
    			return False
    	for row in range(1, 16):
    		if move(North) == False:
    			return False
    		if row % 2 == 1:
    			for i in range(14):
    				if move(West) == False:
    					return False
    		else:
    			for i in range(14):
    				if move(East) == False:
    					return False
    	if move(West) == False:
    		return False
    	for i in range(15):
    		if move(South) == False:
    			return False
    	return True
    
    clear()
    change_hat(Hats.Dinosaur_Hat)
    for c in range(3):
    	if go_cycle() == False:
    		break
    clear()
    Write result the agent saw
    Saved dino (28 lines).
    Game time: 4h 14m 52s elapsed, 1h 45m 8s of budget remaining.
    run_program at 4h 14m for 300s (agent saw)
    Ran dino for 46s of game time; it finished.
    Inventory change: bone +98, cactus -32, fertilizer +18, power -46.16, water +36.
    Game time: 4h 15m 47s elapsed, 1h 44m 13s of budget remaining.
    Output:
    (none)
  2. r24h 15mRanFinal28 lines · +1 −1 · ran 6m 49s
    def go_cycle():
    	for i in range(15):
    		if move(East) == False:
    			return False
    	for row in range(1, 16):
    		if move(North) == False:
    			return False
    		if row % 2 == 1:
    			for i in range(14):
    				if move(West) == False:
    					return False
    		else:
    			for i in range(14):
    				if move(East) == False:
    					return False
    	if move(West) == False:
    		return False
    	for i in range(15):
    		if move(South) == False:
    			return False
    	return True
    
    clear()
    change_hat(Hats.Dinosaur_Hat)
    while True:
    	if go_cycle() == False:
    		break
    clear()
    Changes from the previous revision
      clear()
      change_hat(Hats.Dinosaur_Hat)
    - for c in range(3):
    + while True:
      	if go_cycle() == False:
      		break
    
    Write result the agent saw
    Saved dino (28 lines).
    Game time: 4h 15m 57s elapsed, 1h 44m 3s of budget remaining.
    run_program at 4h 15m for 1200s (agent saw)
    Ran dino for 3m 36s of game time; it finished.
    Inventory change: bone +130050, cactus -1020, fertilizer +87, power -218.96, water +174.
    Game time: 4h 19m 44s elapsed, 1h 40m 16s of budget remaining.
    Output:
    (none)
    run_program at 5h 21m for 600s (agent saw)
    Ran dino for 3m 13s of game time; it finished.
    Inventory change: bone +130050, cactus -1020, fertilizer +77, power -195.16, water +154.
    Game time: 5h 24m 52s elapsed, 35m 8s of budget remaining.
    Output:
    (none)
multi8.py1 write · 1 ran · first at 4h 48m
  1. r14h 48mRanFinal140 lines · ran 55m 28s
    def get_plant():
    	x = get_pos_x()
    	y = get_pos_y()
    	if y % 4 == 3:
    		return Entities.Sunflower
    	lx = x % 8
    	if lx == 0 or lx == 1 or lx == 6:
    		return Entities.Grass
    	if lx == 3 or lx == 4 or lx == 7:
    		return Entities.Carrot
    	if (x + y) % 2 == 0:
    		return Entities.Tree
    	return Entities.Bush
    
    def needs_soil(e):
    	if e == Entities.Carrot:
    		return True
    	if e == Entities.Pumpkin:
    		return True
    	if e == Entities.Cactus:
    		return True
    	if e == Entities.Sunflower:
    		return True
    	return False
    
    def goto(tx, ty):
    	while get_pos_x() < tx:
    		move(East)
    	while get_pos_x() > tx:
    		move(West)
    	while get_pos_y() < ty:
    		move(North)
    	while get_pos_y() > ty:
    		move(South)
    
    def visit():
    	if can_harvest():
    		harvest()
    	e = get_plant()
    	if needs_soil(e):
    		if get_ground_type() != Grounds.Soil:
    			till()
    	else:
    		if get_ground_type() != Grounds.Grassland:
    			till()
    	plant(e)
    	if num_items(Items.Water) > 30:
    		if get_water() < 0.3:
    			use_item(Items.Water)
    
    def traverse_zone(x0, y0, w, h, mode):
    	goto(x0, y0)
    	ready = 0
    	for row in range(h):
    		for col in range(w):
    			if mode == 0:
    				visit()
    			elif mode == 1:
    				if get_entity_type() != None and get_entity_type() != Entities.Cactus:
    					harvest()
    				if get_ground_type() != Grounds.Soil:
    					till()
    				if get_entity_type() == None:
    					plant(Entities.Cactus)
    					if num_items(Items.Weird_Substance) < 2500:
    						if num_items(Items.Fertilizer) > 20:
    							use_item(Items.Fertilizer)
    			else:
    				et = get_entity_type()
    				if et == None or et == Entities.Dead_Pumpkin:
    					if get_ground_type() != Grounds.Soil:
    						till()
    					plant(Entities.Pumpkin)
    				elif et != Entities.Pumpkin:
    					harvest()
    					if get_ground_type() != Grounds.Soil:
    						till()
    					plant(Entities.Pumpkin)
    				elif can_harvest():
    					ready = ready + 1
    			if col < w - 1:
    				if row % 2 == 0:
    					move(East)
    				else:
    					move(West)
    			elif row < h - 1:
    				move(North)
    	return ready
    
    def sort_harvest_cactus(x0, y0, w, h):
    	for p in range(60):
    		swapped = False
    		goto(x0, y0)
    		for row in range(h):
    			for col in range(w):
    				if get_entity_type() == Entities.Cactus:
    					a = measure()
    					if col < w - 1:
    						b = measure(East)
    						if b != None and a != None and b < a:
    							swap(East)
    							swapped = True
    					if row < h - 1:
    						b = measure(North)
    						if b != None and a != None and b < a:
    							swap(North)
    							swapped = True
    				if col < w - 1:
    					move(East)
    			if row < h - 1:
    				goto(x0, y0 + row + 1)
    		if not swapped:
    			break
    	goto(x0, y0)
    	if get_entity_type() == Entities.Cactus:
    		if can_harvest():
    			harvest()
    
    def farm_zone(x0, y0, w, h, kind):
    	while True:
    		if kind == 1:
    			traverse_zone(x0, y0, w, h, 1)
    			sort_harvest_cactus(x0, y0, w, h)
    		elif kind == 2:
    			ready = traverse_zone(x0, y0, w, h, 2)
    			if ready >= w * h:
    				goto(x0, y0)
    				harvest()
    		else:
    			traverse_zone(x0, y0, w, h, 0)
    
    goto(0, 0)
    spawn_drone(farm_zone, 6, 0, 5, 4, 0)
    spawn_drone(farm_zone, 11, 0, 5, 4, 0)
    spawn_drone(farm_zone, 0, 4, 6, 4, 0)
    spawn_drone(farm_zone, 6, 4, 5, 4, 0)
    spawn_drone(farm_zone, 11, 4, 5, 4, 0)
    spawn_drone(farm_zone, 0, 8, 8, 8, 1)
    spawn_drone(farm_zone, 8, 8, 8, 8, 2)
    farm_zone(0, 0, 6, 4, 0)
    Write result the agent saw
    Saved multi8 (140 lines).
    Game time: 4h 48m 30s elapsed, 1h 11m 30s of budget remaining.
    run_program at 4h 48m for 1200s (agent saw)
    Ran multi8 for 20m of game time; it is still running.
    Inventory change: cactus +176128, carrot +167332, fertilizer +416, hay +739976, power +5017.34, pumpkin +103244, water -636, weird_substance +4096, wood +399648.
    Game time: 5h 8m 40s elapsed, 51m 20s of budget remaining.
    Output:
    (none)
    run_program at 5h 24m for 1800s (agent saw)
    Ran multi8 for 30m of game time; it is still running.
    Inventory change: cactus +516096, carrot +499851, fertilizer +656, hay +2261488, power +7526.25, pumpkin +317952, water -762, weird_substance +8192, wood +1133296.
    Game time: 5h 55m 2s elapsed, 4m 58s of budget remaining.
    Output:
    (none)
log44 said · 0 thought · 173 tool calls

Step by step

  1. 0ssaidStarting your farm from scratch — first mapping the field and docs to plan the biggest, most diverse economy.
  2. 0sobserve
    result
    Game time: 10s elapsed, 5h 59m 50s of budget remaining.
    Program: none running.
    Inventory: empty.
    Farm 1x1. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: Gr=grass.
    y= 0  _Gr3*
    Recent output:
    (none)
  3. 5h 59mwait seconds=1
    result
    Waited 0s (time up). Program: multi8 running.
    Inventory change: no change.
    Game time: 6h elapsed, 0s of budget remaining. The game-time budget is used up. The run is over; stop now.
  4. 6h 00msaidRun over — budget fully used with the 8-drone `multi8` farm still running.
  5. 10sdocs_list
    result
    docs/home.md  General Info
    unlocks/auto_unlock  Auto Unlock
    unlocks/cactus  Cactus
    unlocks/carrots  Carrots
    unlocks/costs  Costs
    unlocks/debug  Debug
    unlocks/debug_2  Debug_2
    unlocks/dictionaries  Dictionaries
    unlocks/dinosaurs  Dinosaurs
    unlocks/expand  Expand
    unlocks/fertilizer  Fertilizer
    unlocks/functions  Functions
    unlocks/grass  Grass
    unlocks/hats  Hats
    unlocks/import  Import
    unlocks/leaderb…
  6. 20sdocs_read path="docs/home.md"
    result
    ## General Info
    [External Editor](docs/external_editor.md)      [First Program](docs/first_program.md)      [Getting Started](docs/getting_started.md)      [Loading Backups](docs/backup.md)            [Credits](docs/credits.md)
    
    ## Programming
    [Comments](docs/scripting/comments.md)      
    
    ## Unlocks
    [Grass](unlocks/grass)      
    
    ## Built-in Functions
    [do_a_flip](functions/do_a_flip)      [harvest]…
  7. 30sresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 0/6; cost pumpkin 5000; requires pumpkins
      ## Cactus Cactus! plant(Entities.Cactus)
    carrots (Carrots) level 0/10; cost wood 50; requires plant
      ## Carrots Till the soil and plant carrots. till() plant(Entities.Carrot)
    costs (Costs) le…
  8. 40sdocs_read path="docs/first_program.md"
    result
    # First Program
    ## Text editor
    All programming is done in code windows. Each code window corresponds to a text file containing code. 
    You can rename the file by clicking on its name at the top of the window.
    
    The code can be edited like in any text editor as long as it's not running.
    You can execute the program directly by pressing the green play button in the code window.
    ![](PlayButton50)
    
    You c…
  9. 50swrite_program name="main" · evidence
    result
    Saved main (10 lines).
    Game time: 1m elapsed, 5h 59m of budget remaining.
  10. 1m 00srun_program name="main" seconds=30
    result
    Ran main for 5s of game time; it finished.
    Inventory change: hay +10.
    Game time: 1m 15s elapsed, 5h 58m 45s of budget remaining.
    Output:
    (none)
  11. 1m 15sbuy_upgrade upgrades=["loops"] · evidence
    result
    Bought loops, now level 1. Paid hay 5. Its tutorial is docs page docs/scripting/while.md.
    Game time: 1m 25s elapsed, 5h 58m 35s of budget remaining.
  12. 1m 25ssaidGot the first hay and unlocked loops — now automating continuous harvesting.
  13. 1m 25swrite_program name="main" · evidence
    result
    Saved main (2 lines).
    Game time: 1m 35s elapsed, 5h 58m 25s of budget remaining.
  14. 1m 35srun_program name="main" seconds=120
    result
    Ran main for 2m of game time; it is still running.
    Inventory change: hay +240.
    Game time: 3m 45s elapsed, 5h 56m 15s of budget remaining.
    Output:
    (none)
  15. 3m 45sbuy_upgrade upgrades=["speed"] · evidence
    result
    Bought speed, now level 1. Paid hay 20. Its tutorial is docs page docs/unlocks/speed.md.
    Game time: 3m 55s elapsed, 5h 56m 5s of budget remaining.
  16. 3m 55swait seconds=600 until_resources={"hay":600}
    result
    Waited 10m (time up). Program: main running.
    Inventory change: no change.
    Game time: 14m 5s elapsed, 5h 45m 55s of budget remaining.
  17. 14m 05sobserve
    result
    Game time: 14m 15s elapsed, 5h 45m 45s of budget remaining.
    Program: main (running).
    Inventory: hay 246.
    Farm 1x1. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: Gr=grass.
    y= 0  _Gr2*
    Recent output:
    (none)
  18. 14m 15ssaidHarvesting seems to have stalled — checking what's happening on the tile.
  19. 14m 15swait seconds=60
    result
    Waited 1m (time up). Program: main running.
    Inventory change: no change.
    Game time: 15m 25s elapsed, 5h 44m 35s of budget remaining.
  20. 15m 25sdocs_read path="functions/harvest"
    result
    harvest()
    Harvests the entity under the drone. 
    If you harvest an entity that can't be harvested, it will be destroyed.
    
    returns True if an entity was removed, False otherwise.
    
    takes 200 ticks to execute if an entity was removed, 1 tick otherwise.
    
    example:
    harvest()
    Game time: 15m 35s elapsed, 5h 44m 25s of budget remaining.
  21. 15m 35sdocs_search query="can_harvest"
    result
    docs/home.md: …(unlocks/grass) [Loops](docs/scripting/while.md) [Speed](docs/unlocks/speed.md) ## Built-in Functions [can_harvest](functions/can_harvest) [do_a_flip](functions/do_a_flip) [harvest](functions/harvest) [pet_the_piggy](functions/pet_the_piggy) [tap](functions/tap) ## Items [Hay…
    unlocks/operators: …## Operators Arithmetic, comparison and logic operators. if not can_harvest() and (1 + …
  22. 15m 45sstop_program
    result
    Program stopped.
    Game time: 15m 55s elapsed, 5h 44m 5s of budget remaining.
  23. 15m 55swrite_program name="main" · evidence
    result
    Saved main (3 lines).
    Game time: 16m 5s elapsed, 5h 43m 55s of budget remaining.
  24. 16m 05srun_program name="main" seconds=60
    result
    Ran main for 1m of game time; it is still running.
    Inventory change: hay +120.
    Game time: 17m 15s elapsed, 5h 42m 45s of budget remaining.
    Output:
    (none)
  25. 17m 15ssaidFixed the harvest check — now gathering hay efficiently for expansions and speed.
  26. 17m 15sresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 0/6; cost pumpkin 5000; requires pumpkins
      ## Cactus Cactus! plant(Entities.Cactus)
    carrots (Carrots) level 0/10; cost wood 50; requires plant
      ## Carrots Till the soil and plant carrots. till() plant(Entities.Carrot)
    costs (Costs) le…
  27. 17m 25sbuy_upgrade upgrades=["expand","plant"] · evidence
    result
    Bought expand, now level 1. Paid hay 30. Its tutorial is docs page docs/unlocks/expand_1.md.
    Bought plant, now level 1. Paid hay 50. Its tutorial is docs page docs/unlocks/plant.md.
    Game time: 17m 35s elapsed, 5h 42m 25s of budget remaining.
  28. 17m 35sobserve
    result
    Game time: 17m 45s elapsed, 5h 42m 15s of budget remaining.
    Program: main (running).
    Inventory: hay 344.
    Farm 1x3. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: Gr=grass.
    y= 2  _Gr3
    y= 1  _Gr3
    y= 0  _Gr2*
    Recent output:
    (none)
  29. 17m 45sdocs_read path="docs/unlocks/expand_1.md"
    result
    # Expand 1
    Your farm has grown! This space is not much use if you can't move the drone, so there is a new function `move()` that moves the drone. `move()` requires that you specify the direction in which you want the drone to move. There are four new constants for this: `North, East, South, West`
    
    For example, `move(North)` will move the drone one square to the north.
    
    If you move over the edge of…
  30. 17m 55sstop_program
    result
    Program stopped.
    Game time: 18m 5s elapsed, 5h 41m 55s of budget remaining.
  31. 18m 05swrite_program name="main" · evidence
    result
    Saved main (5 lines).
    Game time: 18m 15s elapsed, 5h 41m 45s of budget remaining.
  32. 18m 15srun_program name="main" seconds=120
    result
    Ran main for 2m of game time; it is still running.
    Inventory change: hay +3, wood +71.
    Game time: 20m 25s elapsed, 5h 39m 35s of budget remaining.
    Output:
    (none)
  33. 20m 25ssaidBushes are producing wood — unlocking carrots next, the gateway to many crops.
  34. 20m 25sbuy_upgrade upgrades=["carrots","speed"] · evidence
    result
    Bought carrots, now level 1. Paid wood 50. Its tutorial is docs page docs/unlocks/carrots.md.
    Bought speed, now level 2. Paid wood 20. Its tutorial is docs page docs/unlocks/speed.md.
    Game time: 20m 35s elapsed, 5h 39m 25s of budget remaining.
  35. 20m 35sresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 0/6; cost pumpkin 5000; requires pumpkins
      ## Cactus Cactus! plant(Entities.Cactus)
    carrots (Carrots) level 1/10; cost wood 250; available, not affordable; tutorial docs/unlocks/carrots.md
      ## Carrots Increases the yield and cost of c…
  36. 20m 45sbuy_upgrade upgrades=["operators","expand"] · evidence
    result
    Bought operators, now level 1. Paid hay 150, wood 10. Its tutorial is docs page docs/scripting/operators.md.
    Could not buy expand: Not enough resources.
    Game time: 20m 55s elapsed, 5h 39m 5s of budget remaining.
  37. 20m 55swait seconds=300 until_affordable="expand"
    result
    Waited 4s (expand is affordable). Program: main running.
    Inventory change: wood +3.
    Game time: 21m 9s elapsed, 5h 38m 51s of budget remaining.
  38. 21m 09sbuy_upgrade upgrades=["expand"] · evidence
    result
    Bought expand, now level 2. Paid wood 20. Its tutorial is docs page docs/unlocks/expand_1.md.
    Game time: 21m 19s elapsed, 5h 38m 41s of budget remaining.
  39. 21m 19ssaidFarm expanded to 3×3 — setting up a carrot field to unlock variables and functions.
  40. 21m 19sdocs_read path="docs/unlocks/carrots.md"
    result
    # Carrots
    Before you can plant carrots with `plant(Entities.Carrot)`, you have to till the soil. This will change the ground to `Grounds.Soil`. To till the soil, simply call `till()`. Calling `till()` again will change it back to `Grounds.Grassland`.
    
    Planting carrots costs wood and hay. These items will be automatically removed when calling `plant(Entities.Carrot)`.
    
    You can see the cost of any p…
  41. 21m 29sstop_program
    result
    Program stopped.
    Game time: 21m 39s elapsed, 5h 38m 21s of budget remaining.
  42. 21m 39swrite_program name="setup_carrot" · evidence
    result
    Saved setup_carrot (38 lines).
    Game time: 21m 49s elapsed, 5h 38m 11s of budget remaining.
  43. 21m 49srun_program name="setup_carrot" seconds=120
    result
    Ran setup_carrot for 9s of game time; it finished.
    Inventory change: hay +1, wood -2.
    Game time: 22m 8s elapsed, 5h 37m 52s of budget remaining.
    Output:
    (none)
  44. 22m 08sobserve
    result
    Game time: 22m 18s elapsed, 5h 37m 42s of budget remaining.
    Program: none running.
    Inventory: hay 241, wood 22.
    Farm 3x3. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: Ca=carrot.
    y= 2  #Ca3  #Ca3  #Ca3
    y= 1  #Ca3  #Ca3  #Ca3
    y= 0  #Ca3* #Ca3  #Ca3
    Recent output:
    (none)
  45. 22m 18ssaidCarrots are planted and ready — harvesting them in a loop across all nine tiles.
  46. 22m 18swrite_program name="main" · evidence
    result
    Saved main (39 lines).
    Game time: 22m 28s elapsed, 5h 37m 32s of budget remaining.
  47. 22m 28srun_program name="main" seconds=180
    result
    Ran main for 3m of game time; it is still running.
    Inventory change: carrot +31, hay -22, wood -22.
    Game time: 25m 38s elapsed, 5h 34m 22s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to pla…
  48. 25m 38sobserve
    result
    Game time: 25m 48s elapsed, 5h 34m 12s of budget remaining.
    Program: main (running).
    Inventory: hay 219, carrot 31.
    Farm 3x3. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: none.
    y= 2  #--   #--   #--
    y= 1  #--   #--*  #--
    y= 0  #--   #--   #--
    Recent output:
    Warning: Didn't…
  49. 25m 48sstop_program
    result
    Program stopped.
    Game time: 25m 58s elapsed, 5h 34m 2s of budget remaining.
  50. 25m 58sdocs_read path="objects/grass"
    result
    ## Grass
    Grows automatically on grassland. Harvest it to obtain Items.Hay.
    
    Base growth time between 0.5 and 0.5 seconds.
    Can grow on soil or grassland.
    Game time: 26m 8s elapsed, 5h 33m 52s of budget remaining.
  51. 26m 08ssaidCarrots drain wood and hay, so I'll rebalance: some tiles for grass, some for bushes, some for carrots.
  52. 26m 08sdocs_search query="Bush"
    result
    docs/home.md: …unctions/till) ## Items [Hay](items/hay) [Wood](items/wood) [Carrot](items/carrot) ## Entities [Bush](objects/bush) [Carrot](objects/carrot) [Grass](objects/grass) ## Grounds [Grassland](objects/grassland) [Soil](objects/soil)…
    unlocks/lists: …## Lists Use lists to store lots of values. plants = [Entities.Grass, Entities.Bush, Entities.Tree] for p in plants: plant(p) move(North) ###…
  53. 26m 18swrite_program name="setup_mix" · evidence
    result
    Saved setup_mix (26 lines).
    Game time: 26m 28s elapsed, 5h 33m 32s of budget remaining.
  54. 26m 28swrite_program name="main" · evidence
    result
    Saved main (37 lines).
    Game time: 26m 38s elapsed, 5h 33m 22s of budget remaining.
  55. 26m 38srun_program name="setup_mix" seconds=60
    result
    Ran setup_mix for 3s of game time; it finished.
    Inventory change: no change.
    Game time: 26m 51s elapsed, 5h 33m 9s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: 
    plant(Entities.Carrot)
         ^^               
    --------------------------------------------------------------------
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: …
  56. 26m 51srun_program name="main" seconds=300
    result
    Ran main for 5m of game time; it is still running.
    Inventory change: wood +195.
    Game time: 32m 1s elapsed, 5h 27m 59s of budget remaining.
    Output:
    (none)
  57. 32m 01ssaidWood is flowing but carrots aren't — inspecting the mixed field.
  58. 32m 01sobserve
    result
    Game time: 32m 11s elapsed, 5h 27m 49s of budget remaining.
    Program: main (running).
    Inventory: hay 219, wood 202, carrot 31.
    Farm 3x3. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: Bu=bush.
    y= 2  #--   #Bu1* #--
    y= 1  #--   #Bu1  #Bu3
    y= 0  #--   #Bu3  #--
    Recent output:
    (…
  59. 32m 11sbuy_upgrade upgrades=["senses"] · evidence
    result
    Bought senses, now level 1. Paid hay 100. Its tutorial is docs page docs/unlocks/senses.md.
    Game time: 32m 21s elapsed, 5h 27m 39s of budget remaining.
  60. 32m 21sstop_program
    result
    Program stopped.
    Game time: 32m 31s elapsed, 5h 27m 29s of budget remaining.
  61. 32m 31swrite_program name="main" · evidence
    result
    Saved main (39 lines).
    Game time: 32m 41s elapsed, 5h 27m 19s of budget remaining.
  62. 32m 41srun_program name="main" seconds=300
    result
    Ran main for 5m of game time; it is still running.
    Inventory change: carrot +198, hay +116, wood +254.
    Game time: 37m 51s elapsed, 5h 22m 9s of budget remaining.
    Output:
    (none)
  63. 37m 51ssaidBalanced production is working — now buying the key unlocks: variables, functions, trees, and watering.
  64. 37m 51sresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 0/6; cost pumpkin 5000; requires pumpkins
      ## Cactus Cactus! plant(Entities.Cactus)
    carrots (Carrots) level 1/10; cost wood 250; can buy now; tutorial docs/unlocks/carrots.md
      ## Carrots Increases the yield and cost of carrots. 100% =…
  65. 38m 01sbuy_upgrade upgrades=["variables","functions","trees","watering","speed","expand"] · evidence
    result
    Bought variables, now level 1. Paid carrot 35. Its tutorial is docs page docs/scripting/variables.md.
    Bought functions, now level 1. Paid carrot 40. Its tutorial is docs page docs/scripting/functions.md.
    Bought trees, now level 1. Paid wood 50, carrot 70. Its tutorial is docs page docs/unlocks/trees.md.
    Bought watering, now level 1. Paid wood 50. Its tutorial is docs page docs/unlocks/watering.md.…
  66. 38m 11sstop_program
    result
    Program stopped.
    Game time: 38m 21s elapsed, 5h 21m 39s of budget remaining.
  67. 38m 21swrite_program name="main" · evidence
    result
    Saved main (41 lines).
    Game time: 38m 31s elapsed, 5h 21m 29s of budget remaining.
  68. 38m 31swrite_program name="main" · evidence
    result
    Saved main (48 lines).
    Game time: 38m 41s elapsed, 5h 21m 19s of budget remaining.
  69. 38m 41srun_program name="main" seconds=300
    result
    Ran main for 5m of game time; it is still running.
    Inventory change: carrot +501, hay -28, water +30, wood +644.
    Game time: 43m 51s elapsed, 5h 16m 9s of budget remaining.
    Output:
    (none)
  70. 43m 51ssaidExcellent rates on the 4×4 — checking the next tier of upgrades.
  71. 43m 51sresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 0/6; cost pumpkin 5000; requires pumpkins
      ## Cactus Cactus! plant(Entities.Cactus)
    carrots (Carrots) level 1/10; cost wood 250; can buy now; tutorial docs/unlocks/carrots.md
      ## Carrots Increases the yield and cost of carrots. 100% =…
  72. 44m 01sbuy_upgrade upgrades=["lists","import","pumpkins","sunflowers","fertilizer","debug","expand"] · evidence
    result
    Bought lists, now level 1. Paid carrot 500. Its tutorial is docs page docs/scripting/lists.md.
    Could not buy import: Not enough resources.
    Could not buy pumpkins: Not enough resources.
    Could not buy sunflowers: Not enough resources.
    Bought fertilizer, now level 1. Paid wood 500. Its tutorial is docs page docs/unlocks/fertilizer.md.
    Bought debug, now level 1. Paid hay 50, wood 50. Its tutorial is d…
  73. 44m 11swait seconds=600 until_resources={"carrot":600}
    result
    Waited 5m 19s (carrot reached 600). Program: main running.
    Inventory change: carrot +535, fertilizer +32, hay -2, water +32, wood +454.
    Game time: 49m 41s elapsed, 5h 10m 19s of budget remaining.
  74. 49m 41sbuy_upgrade upgrades=["import","pumpkins"] · evidence
    result
    Bought import, now level 1. Paid carrot 80. Its tutorial is docs page docs/scripting/import.md.
    Bought pumpkins, now level 1. Paid wood 500, carrot 200. Its tutorial is docs page docs/unlocks/pumpkins.md.
    Game time: 49m 51s elapsed, 5h 10m 9s of budget remaining.
  75. 49m 51sdocs_read path="docs/unlocks/pumpkins.md"
    result
    # Pumpkins
    [Pumpkins](objects/pumpkin) grow like carrots on tilled soil. Planting them costs carrots.
    
    When all the pumpkins in a square are fully grown, they will grow together to form a giant pumpkin. Unfortunately, pumpkins have a 20% chance of dying once they are fully grown, so you will need to replant the dead ones if you want them to merge. 
    
    When a pumpkin dies, it leaves behind a dead pum…
  76. 50m 01ssaidPumpkins merge into giant pumpkins for huge yields — reading the details before planting them.
  77. 50m 01sdocs_read path="objects/pumpkin"
    result
    ## Pumpkin
    Pumpkins grow together when they are next to other fully grown pumpkins. About 1 in 5 pumpkins dies when it grows up.
    
    Base growth time between 0.2 and 3.8 seconds.
    Can grow on soil.
    
    ### Plant Cost [Current cost: carrot=1]
    
    For more related information see: [Pumpkins](docs/unlocks/pumpkins.md)
    Game time: 50m 11s elapsed, 5h 9m 49s of budget remaining.
  78. 50m 11sdocs_search query="measure"
    result
    No matches for "measure".
    Game time: 50m 21s elapsed, 5h 9m 39s of budget remaining.
  79. 50m 21sdocs_read path="unlocks/sunflowers"
    result
    ## Sunflowers
    Sunflowers and Power.
    
    plant(Entities.Sunflowers)
    
    ### Unlock Cost [Current cost: carrot=500]
    Game time: 50m 31s elapsed, 5h 9m 29s of budget remaining.
  80. 50m 31swait seconds=900 until_affordable="sunflowers"
    result
    Waited 53s (sunflowers is affordable). Program: main running.
    Inventory change: carrot +98, fertilizer +5, hay -5, water +5, wood +134.
    Game time: 51m 34s elapsed, 5h 8m 26s of budget remaining.
  81. 51m 34sbuy_upgrade upgrades=["sunflowers","expand"] · evidence
    result
    Bought sunflowers, now level 1. Paid carrot 500. Its tutorial is docs page docs/unlocks/sunflowers.md.
    Could not buy expand: Not enough resources.
    Game time: 51m 44s elapsed, 5h 8m 16s of budget remaining.
  82. 51m 44ssaidSunflowers unlocked — waiting for enough carrots to expand to 6×6.
  83. 51m 44swait seconds=600 until_affordable="expand"
    result
    Waited 15s (expand is affordable). Program: main running.
    Inventory change: carrot +20, fertilizer +1, hay +1, water +1, wood +4.
    Game time: 52m 9s elapsed, 5h 7m 51s of budget remaining.
  84. 52m 09sbuy_upgrade upgrades=["expand"] · evidence
    result
    Bought expand, now level 4. Paid wood 100, carrot 50. Its tutorial is docs page docs/unlocks/expand_1.md.
    Game time: 52m 19s elapsed, 5h 7m 41s of budget remaining.
  85. 52m 19sdocs_read path="docs/unlocks/sunflowers.md"
    result
    # Sunflowers
    [Sunflowers](objects/sunflower) collect the power of the sun. You can harvest that power. 
    
    Planting them works exactly like planting carrots or pumpkins. 
    
    Harvesting a grown sunflower yields power.
    If there are at least 10 sunflowers on the farm and you harvest the one with the largest number of petals you get `8` times more power!
    If you harvest a sunflower while there is another s…
  86. 52m 29sdocs_read path="objects/sunflower"
    result
    ## Sunflower
    Sunflowers collect the power from the sun. Harvesting them will give you Items.Power.
    If you harvest a sunflower with the maximum number of petals you get bonus power.
    
    Base growth time between 5.6 and 8.4 seconds.
    Can grow on soil.
    
    ### Plant Cost [Current cost: carrot=1]
    
    For more related information see: [Sunflowers](docs/unlocks/sunflowers.md)
    Game time: 52m 39s elapsed, 5h 7m 21s…
  87. 52m 39sdocs_list
    result
    docs/home.md  General Info
    unlocks/auto_unlock  Auto Unlock
    unlocks/cactus  Cactus
    unlocks/carrots  Carrots
    docs/unlocks/carrots.md  Carrots
    unlocks/costs  Costs
    unlocks/debug  Debug
    docs/scripting/debug.md  Debug
    unlocks/debug_2  Debug_2
    unlocks/dictionaries  Dictionaries
    unlocks/dinosaurs  Dinosaurs
    unlocks/expand  Expand
    docs/unlocks/expand_1.md  Expand 1
    unlocks/fertilizer  Fertilizer
    docs/unl…
  88. 52m 49ssaidDesigning the 6×6 layout with pumpkin, sunflower, carrot, tree and grass zones.
  89. 52m 49sdocs_search query="Sunflower"
    result
    docs/home.md: … [Pumpkins](docs/unlocks/pumpkins.md) [Senses](docs/unlocks/senses.md) [Speed](docs/unlocks/speed.md) [Sunflowers](docs/unlocks/sunflowers.md) [Trees](docs/unlocks/trees.md) [Variables](docs/scripting/variables.md) [Watering](docs/unlocks/watering.md) ## Built-in Functions [can_ha…
    unlocks/sunflowers: …## Sunflowers Sunflowers and Power. plant(Entities.Sunflowers) [Tutorial](docs/un…
  90. 52m 59sdocs_read path="docs/unlocks/watering.md"
    result
    # Watering
    Plants grow faster when they are watered. The ground has a water level ranging from `0` to `1`.
    The function `get_water()` returns the water level of the ground it is over.
    
    The growth speed of a plant scales linearly from 1x speed at water level 0 to 5x speed at water level 1.
    
    The ground dries up over time: On average, it loses 1% of its current water per second, but there is some ran…
  91. 53m 09sdocs_read path="docs/unlocks/fertilizer.md"
    result
    # Fertilizer
    At some point, waiting for the plants to grow is just not efficient enough anymore. 
    Similar to water, you will automatically receive 1 fertilizer every 10 seconds, doubling with each upgrade.
    
    Fertilizer can make plants grow instantly. `use_item(Items.Fertilizer)` reduces the remaining growing time of the plant under the drone by 2 seconds.
    
    This has some side effects.
    Plants grown w…
  92. 53m 19sstop_program
    result
    Program stopped.
    Game time: 53m 29s elapsed, 5h 6m 31s of budget remaining.
  93. 53m 29swrite_program name="main" · evidence
    result
    Saved main (61 lines).
    Game time: 53m 39s elapsed, 5h 6m 21s of budget remaining.
  94. 53m 39srun_program name="main" seconds=300
    result
    Ran main for 5m of game time; it is still running.
    Inventory change: carrot -140, fertilizer +30, hay +72, power +282.86, pumpkin +219, water +30, wood +405.
    Game time: 58m 49s elapsed, 5h 1m 11s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Pumpkin.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  95. 58m 49ssaidPower and pumpkins are strong but carrots are draining — rebalancing zones to 9 carrots, 10 sunflowers.
  96. 58m 49sdocs_read path="objects/carrot"
    result
    ## Carrot
    Carrots!
    
    Base growth time between 4.8 and 7.2 seconds.
    Can grow on soil.
    
    ### Plant Cost [Current cost: hay=1, wood=1]
    
    For more related information see: [Carrots](docs/unlocks/carrots.md)
    Game time: 58m 59s elapsed, 5h 1m 1s of budget remaining.
  97. 58m 59sdocs_read path="objects/tree"
    result
    ## Tree
    Trees drop more wood than bushes. They take longer to grow if other trees grow next to them.
    
    Base growth time between 5.6 and 8.4 seconds.
    Can grow on soil or grassland.
    
    For more related information see: [Trees](docs/unlocks/trees.md)
    Game time: 59m 9s elapsed, 5h 51s of budget remaining.
  98. 59m 09sdocs_read path="docs/stats.md"
    result
    # Stats
    
    Over the last 60s you farmed: [In-game panel omitted: itemblock stats_sum]
    
    Your personal best per resource is: [In-game panel omitted: itemblock stats_best]
    Game time: 59m 19s elapsed, 5h 41s of budget remaining.
  99. 59m 19sstop_program
    result
    Program stopped.
    Game time: 59m 29s elapsed, 5h 31s of budget remaining.
  100. 59m 29swrite_program name="main" · evidence
    result
    Saved main (62 lines).
    Game time: 59m 39s elapsed, 5h 21s of budget remaining.
  101. 59m 39ssaidNew balanced layout planted — running it to verify all resources go positive.
  102. 59m 39srun_program name="main" seconds=600
    result
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +2, fertilizer +60, hay +308, power +255.09, pumpkin +486, water -109, wood -465.
    Game time: 1h 9m 49s elapsed, 4h 50m 11s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Sunflower.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  103. 1h 09mdocs_read path="objects/bush"
    result
    ## Bush
    A small bush that drops Items.Wood.
    
    Base growth time between 3.2 and 4.8 seconds.
    Can grow on grassland or soil.
    
    For more related information see: [Plant](docs/unlocks/plant.md)
    Game time: 1h 9m 59s elapsed, 4h 50m 1s of budget remaining.
  104. 1h 09mstop_program
    result
    Program stopped.
    Game time: 1h 10m 9s elapsed, 4h 49m 51s of budget remaining.
  105. 1h 10mwrite_program name="main" · evidence
    result
    Saved main (72 lines).
    Game time: 1h 10m 19s elapsed, 4h 49m 41s of budget remaining.
  106. 1h 10mrun_program name="main" seconds=600
    result
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +6, fertilizer +60, hay +20, power +281.07, pumpkin +580, water -2, wood +1540.
    Game time: 1h 20m 29s elapsed, 4h 39m 31s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Sunflower.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  107. 1h 20msaidWood now surplus, carrot neutral — expanding further will scale everything.
  108. 1h 20mresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 0/6; cost pumpkin 5000; available, not affordable
      ## Cactus Cactus! plant(Entities.Cactus)
    carrots (Carrots) level 1/10; cost wood 250; can buy now; tutorial docs/unlocks/carrots.md
      ## Carrots Increases the yield and cost of carrots…
  109. 1h 20mbuy_upgrade upgrades=["grass","trees","carrots","expand"] · evidence
    result
    Bought grass, now level 2. Paid hay 300.
    Could not buy trees: Not enough resources.
    Bought carrots, now level 2. Paid wood 250. Its tutorial is docs page docs/unlocks/carrots.md.
    Bought expand, now level 5. Paid pumpkin 1000. Its tutorial is docs page docs/unlocks/expand_1.md.
    Game time: 1h 20m 49s elapsed, 4h 39m 11s of budget remaining.
  110. 1h 20mstop_program
    result
    Program stopped.
    Game time: 1h 20m 59s elapsed, 4h 39m 1s of budget remaining.
  111. 1h 20mwrite_program name="main" · evidence
    result
    Saved main (64 lines).
    Game time: 1h 21m 9s elapsed, 4h 38m 51s of budget remaining.
  112. 1h 21mrun_program name="main" seconds=600
    result
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +903, fertilizer +60, hay -350, power +668.07, pumpkin +850, water +8, wood +404.
    Game time: 1h 31m 19s elapsed, 4h 28m 41s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Sunflower.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  113. 1h 31msaid8×8 is booming — carrots and pumpkins up, hay down. Checking upgrade costs to fix the hay balance.
  114. 1h 31mresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 0/6; cost pumpkin 5000; available, not affordable
      ## Cactus Cactus! plant(Entities.Cactus)
    carrots (Carrots) level 2/10; cost wood 1250; can buy now; tutorial docs/unlocks/carrots.md
      ## Carrots Increases the yield and cost of carrot…
  115. 1h 31mbuy_upgrade upgrades=["grass","speed","watering"] · evidence
    result
    Bought grass, now level 3. Paid wood 500.
    Bought speed, now level 4. Paid carrot 500. Its tutorial is docs page docs/unlocks/speed.md.
    Bought watering, now level 2. Paid wood 200. Its tutorial is docs page docs/unlocks/watering.md.
    Game time: 1h 31m 39s elapsed, 4h 28m 21s of budget remaining.
  116. 1h 31mobserve
    result
    Game time: 1h 31m 49s elapsed, 4h 28m 11s of budget remaining.
    Program: main (running).
    Inventory: hay 41, wood 1834, carrot 392, pumpkin 1243, water 30, fertilizer 285, power 1560.61.
    Farm 8x8. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: Su=sunflower, Pu=pumpkin, De=dead…
  117. 1h 31mwait seconds=3600 until_resources={"pumpkin":5000}
    result
    Waited 27m 4s (pumpkin reached 5001). Program: main running.
    Inventory change: carrot +4134, fertilizer +163, hay +2128, power +2993.08, pumpkin +3726, wood +1115.
    Game time: 1h 59m 2s elapsed, 4h 58s of budget remaining.
  118. 1h 59msaidPumpkin hit 5000 — unlocking cactus and boosting pumpkin/carrot yields.
  119. 1h 59mbuy_upgrade upgrades=["pumpkins","cactus","carrots"] · evidence
    result
    Bought pumpkins, now level 2. Paid carrot 1000. Its tutorial is docs page docs/unlocks/pumpkins.md.
    Bought cactus, now level 1. Paid pumpkin 5000. Its tutorial is docs page docs/unlocks/cactus.md.
    Bought carrots, now level 3. Paid wood 1250. Its tutorial is docs page docs/unlocks/carrots.md.
    Game time: 1h 59m 12s elapsed, 4h 48s of budget remaining.
  120. 1h 59mdocs_read path="docs/unlocks/cactus.md"
    result
    # Cactus
    Like other plants, [cacti](objects/cactus) can be grown on soil and harvested as usual.
    
    However, they come in various sizes and have a strange sense of order.
    
    If you harvest a fully-grown cactus and all neighboring cacti are in sorted order, it will also harvest all neighboring cacti recursively.
    
    A cactus is considered to be in sorted order if all neighboring cacti to the `North` and `…
  121. 1h 59mdocs_read path="objects/cactus"
    result
    ## Cactus
    Cacti come in 10 different sizes. When harvested adjacent cacti that are "sorted" will also be harvested.
    
    Base growth time between 1 and 1 seconds.
    Can grow on soil.
    
    ### Plant Cost [Current cost: pumpkin=2]
    Game time: 1h 59m 32s elapsed, 4h 28s of budget remaining.
  122. 1h 59mstop_program
    result
    Program stopped.
    Game time: 1h 59m 42s elapsed, 4h 18s of budget remaining.
  123. 1h 59mwrite_program name="main" · evidence
    result
    Saved main (111 lines).
    Game time: 1h 59m 52s elapsed, 4h 8s of budget remaining.
  124. 1h 59mrun_program name="main" seconds=600
    result
    Ran main for 10m of game time; it is still running.
    Inventory change: carrot +4216, fertilizer +60, hay -1180, power -404.89, pumpkin +2498, water -4, wood -1628.
    Game time: 2h 10m 2s elapsed, 3h 49m 58s of budget remaining.
    Output:
    Warning: Didn't have the required items to plant Entities.Carrot.
    In: visit
    plant(e)
         ^^ 
    --------------------------------------------------------------------
  125. 2h 10msaidNo cactus yet — checking whether the cactus block planted and sorted correctly.
  126. 2h 10mobserve
    result
    Game time: 2h 10m 12s elapsed, 3h 49m 48s of budget remaining.
    Program: main (running).
    Inventory: hay 921, wood 11, carrot 8028, pumpkin 2707, water 30, fertilizer 516, power 4238.17.
    Farm 8x8. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a drone.
    Entities: Su=sunflower, Pu=pumpkin, Ca=carr…
  127. 2h 10mbuy_upgrade upgrades=["trees"] · evidence
    result
    Bought trees, now level 2. Paid hay 300. Its tutorial is docs page docs/unlocks/trees.md.
    Game time: 2h 10m 22s elapsed, 3h 49m 38s of budget remaining.
  128. 2h 10mstop_program
    result
    Program stopped.
    Game time: 2h 10m 32s elapsed, 3h 49m 28s of budget remaining.
  129. 2h 10mwrite_program name="main" · evidence
    result
    Saved main (112 lines).
    Game time: 2h 10m 42s elapsed, 3h 49m 18s of budget remaining.
  130. 2h 10mrun_program name="main" seconds=600
    result
    Ran main for 10m of game time; it is still running.
    Inventory change: cactus +5616, carrot +616, fertilizer +60, hay +1696, power -236.90, pumpkin +712, water -4, wood +3928.
    Game time: 2h 20m 52s elapsed, 3h 39m 8s of budget remaining.
    Output:
    (none)
  131. 2h 20msaidCactus sorting works — 5,616 cactus! Unlocking dinosaurs next.
  132. 2h 20mdocs_read path="unlocks/dinosaurs"
    result
    ## Dinosaurs
    Majestic ancient creatures.
    
    ### Unlock Cost [Current cost: cactus=2000]
    Game time: 2h 21m 2s elapsed, 3h 38m 58s of budget remaining.
  133. 2h 21mbuy_upgrade upgrades=["dinosaurs"] · evidence
    result
    Bought dinosaurs, now level 1. Paid cactus 2000. Its tutorial is docs page docs/unlocks/dinosaurs.md.
    Game time: 2h 21m 12s elapsed, 3h 38m 48s of budget remaining.
  134. 2h 21mdocs_read path="docs/unlocks/dinosaurs.md"
    result
    # Dinosaurs
    Dinosaurs are ancient, majestic creatures that can be farmed for ancient bones.
    
    Unfortunately dinosaurs have gone extinct a long time ago, so the best we can do now is dressing up as one.
    For this purpose you have received the new dinosaur hat.
    
    The hat can be equipped with
    `change_hat(Hats.Dinosaur_Hat)`
    
    Unfortunately it doesn't quite look like on the advertisement...
    
    If you equip …
  135. 2h 21mdocs_read path="objects/apple"
    result
    ## Apple
    Dinosaurs love them apparently.
    
    ### Plant Cost [Current cost: cactus=2]
    
    For more related information see: [Dinosaurs](docs/unlocks/dinosaurs.md)
    Game time: 2h 21m 32s elapsed, 3h 38m 28s of budget remaining.
  136. 2h 21mdocs_search query="Hats."
    result
    docs/home.md: …locks/fertilizer.md) [Functions](docs/scripting/functions.md) [Grass](unlocks/grass) [Hats](docs/unlocks/hats.md) [Import](docs/scripting/import.md) [Lists](docs/scripting/lists.md) [Loops](docs/scripting/while.md) [Operators](docs/scripting/operators.md) [Plant](docs/unlocks/pla…
    docs/unlocks/dinosaurs.md: … dressing up as one. For this purpose you have received the new dinosaur ha…
  137. 2h 21msaidDinosaurs are a snake game for bones — deferring that while I push toward mazes and megafarm.
  138. 2h 21mdocs_search query="Straw"
    result
    functions/clear: …clear() Removes everything from the farm, moves the drone back to position (0,0) and changes the hat back to the straw hat. returns None takes 200 ticks to execute. example: clear() For more related information see: [Plant](docs/unlocks/plant.md)…
    Game time: 2h 21m 52s elapsed, 3h 38m 8s of budget remaining.
  139. 2h 21mresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 1/6; cost pumpkin 20000; available, not affordable; tutorial docs/unlocks/cactus.md
      ## Cactus Increases the yield and cost of cactus. 100% => 200%
    carrots (Carrots) level 3/10; cost wood 6250; available, not affordable; tutorial docs/…
  140. 2h 22mbuy_upgrade upgrades=["speed","pumpkins"] · evidence
    result
    Bought speed, now level 5. Paid carrot 1000. Its tutorial is docs page docs/unlocks/speed.md.
    Bought pumpkins, now level 3. Paid carrot 4000. Its tutorial is docs page docs/unlocks/pumpkins.md.
    Game time: 2h 22m 12s elapsed, 3h 37m 48s of budget remaining.
  141. 2h 22mwait seconds=3600 until_resources={"pumpkin":8000}
    result
    Waited 11m 7s (pumpkin reached 8013). Program: main running.
    Inventory change: cactus +9648, carrot -956, fertilizer +66, hay +2912, power -407.32, pumpkin +4320, water -1, wood +6704.
    Game time: 2h 33m 29s elapsed, 3h 26m 31s of budget remaining.
  142. 2h 33msaidPumpkin at 8000 — expanding to 12×12 for a big scale-up.
  143. 2h 33mbuy_upgrade upgrades=["expand"] · evidence
    result
    Bought expand, now level 6. Paid pumpkin 8000. Its tutorial is docs page docs/unlocks/expand_1.md.
    Game time: 2h 33m 39s elapsed, 3h 26m 21s of budget remaining.
  144. 2h 33mstop_program
    result
    Program stopped.
    Game time: 2h 33m 49s elapsed, 3h 26m 11s of budget remaining.
  145. 2h 33mwrite_program name="main" · evidence
    result
    Saved main (104 lines).
    Game time: 2h 33m 59s elapsed, 3h 26m 1s of budget remaining.
  146. 2h 33mrun_program name="main" seconds=900
    result
    Ran main for 15m of game time; it is still running.
    Inventory change: cactus +33696, carrot -172, fertilizer +90, hay +1132, power -256.11, pumpkin +3664, water -4, wood +2272.
    Game time: 2h 49m 9s elapsed, 3h 10m 51s of budget remaining.
    Output:
    (none)
  147. 2h 49msaidNow farming weird substance for mazes: fertilizing cacti so their harvest converts half to weird substance.
  148. 2h 49mstop_program
    result
    Program stopped.
    Game time: 2h 49m 19s elapsed, 3h 10m 41s of budget remaining.
  149. 2h 49mwrite_program name="main" · evidence
    result
    Saved main (107 lines).
    Game time: 2h 49m 29s elapsed, 3h 10m 31s of budget remaining.
  150. 2h 49mrun_program name="main" seconds=900
    result
    Ran main for 15m of game time; it is still running.
    Inventory change: cactus +32400, carrot +40, fertilizer +18, hay +820, power -258.11, pumpkin +3544, water -3, weird_substance +1296, wood +2286.
    Game time: 3h 4m 39s elapsed, 2h 55m 21s of budget remaining.
    Output:
    (none)
  151. 3h 04mbuy_upgrade upgrades=["mazes"] · evidence
    result
    Bought mazes, now level 1. Paid weird_substance 1000. Its tutorial is docs page docs/unlocks/mazes.md.
    Game time: 3h 4m 49s elapsed, 2h 55m 11s of budget remaining.
  152. 3h 04mdocs_read path="docs/unlocks/mazes.md"
    result
    # Mazes
    `Items.Weird_Substance`, which is obtained by [fertilizing](docs/unlocks/fertilizer.md) plants, has a strange effect on bushes. If the drone is over a bush and you call `use_item(Items.Weird_Substance, amount)` the bush will grow into a maze of hedges.
    The size of the maze depends on the amount of `Items.Weird_Substance` used (the second argument of the `use_item()` call).
    Without maze upg…
  153. 3h 04msaidMazes unlocked — writing a wall-follower to farm gold from full-field mazes.
  154. 3h 04mstop_program
    result
    Program stopped.
    Game time: 3h 5m 9s elapsed, 2h 54m 51s of budget remaining.
  155. 3h 05mwrite_program name="maze" · evidence
    result
    Saved maze (32 lines).
    Game time: 3h 5m 19s elapsed, 2h 54m 41s of budget remaining.
  156. 3h 05mrun_program name="maze" seconds=300
    result
    Ran maze for 5m of game time; it is still running.
    Inventory change: fertilizer +30, gold +3456, power -303.60, water +60, weird_substance -288.
    Game time: 3h 10m 29s elapsed, 2h 49m 31s of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    ---------------------------…
  157. 3h 10mobserve
    result
    Game time: 3h 10m 39s elapsed, 2h 49m 21s of budget remaining.
    Program: maze (running).
    Inventory: hay 7601, wood 15913, carrot 2604, pumpkin 7313, cactus 81680, weird_substance 8, gold 3456, water 97, fertilizer 770, power 2667.10.
    Farm 12x12. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * marks a …
  158. 3h 10msaidGold farming worked — 3,456 gold. Buying Megafarm for multiple drones.
  159. 3h 10mstop_program
    result
    Program stopped.
    Game time: 3h 10m 49s elapsed, 2h 49m 11s of budget remaining.
  160. 3h 10mbuy_upgrade upgrades=["megafarm"] · evidence
    result
    Bought megafarm, now level 1. Paid gold 2000. Its tutorial is docs page docs/unlocks/megafarm.md.
    Game time: 3h 10m 59s elapsed, 2h 49m 1s of budget remaining.
  161. 3h 10mdocs_read path="docs/unlocks/megafarm.md"
    result
    # Mega Farm
    This incredibly powerful unlock gives you access to multiple drones. 
    
    As before, you still start with just one drone. Additional drones must first be spawned and will disappear after the program terminates.
    Each drone runs its own separate program. New drones can be spawned using the `spawn_drone(function)` function.
    
    `def drone_function():
        move(North)
        do_a_flip()
    
    spawn_drone…
  162. 3h 11mwrite_program name="probe" · evidence
    result
    Saved probe (3 lines).
    Game time: 3h 11m 19s elapsed, 2h 48m 41s of budget remaining.
  163. 3h 11mrun_program name="probe" seconds=30
    result
    Ran probe for 3s of game time; it finished.
    Inventory change: fertilizer +1, power -0.00, water +1.
    Game time: 3h 11m 32s elapsed, 2h 48m 28s of budget remaining.
    Output:
    2
    1
    1
  164. 3h 11msaidOnly 2 drones at this level — checking costs for more drones and other upgrades.
  165. 3h 11mresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 1/6; cost pumpkin 20000; available, not affordable; tutorial docs/unlocks/cactus.md
      ## Cactus Increases the yield and cost of cactus. 100% => 200%
    carrots (Carrots) level 3/10; cost wood 6250; can buy now; tutorial docs/unlocks/carrot…
  166. 3h 11mbuy_upgrade upgrades=["mazes","trees","grass","watering","fertilizer"] · evidence
    result
    Bought mazes, now level 2. Paid cactus 12000. Its tutorial is docs page docs/unlocks/mazes.md.
    Bought trees, now level 3. Paid hay 1200. Its tutorial is docs page docs/unlocks/trees.md.
    Bought grass, now level 4. Paid wood 2500.
    Bought watering, now level 3. Paid wood 800. Its tutorial is docs page docs/unlocks/watering.md.
    Bought fertilizer, now level 2. Paid wood 1500. Its tutorial is docs page …
  167. 3h 11msaidMaze upgraded (double gold per maze) — running the mixed farm again to restock weird substance.
  168. 3h 11mrun_program name="main" seconds=900
    result
    Ran main for 15m of game time; it is still running.
    Inventory change: cactus +29808, carrot -284, fertilizer +108, hay +5204, power -308.08, pumpkin +3336, water -80, weird_substance +1296, wood +6144.
    Game time: 3h 27m 2s elapsed, 2h 32m 58s of budget remaining.
    Output:
    (none)
  169. 3h 27mstop_program
    result
    Program stopped.
    Game time: 3h 27m 12s elapsed, 2h 32m 48s of budget remaining.
  170. 3h 27mrun_program name="maze" seconds=900
    result
    Ran maze for 11m 38s of game time; it finished.
    Inventory change: fertilizer +140, gold +15552, power -706.74, water +280, weird_substance -1296, wood +20.
    Game time: 3h 39m elapsed, 2h 21m of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    ------------------------…
  171. 3h 39msaid15,552 gold from mazes — buying more drones.
  172. 3h 39mbuy_upgrade upgrades=["megafarm"] · evidence
    result
    Bought megafarm, now level 2. Paid gold 8000. Its tutorial is docs page docs/unlocks/megafarm.md.
    Game time: 3h 39m 10s elapsed, 2h 20m 50s of budget remaining.
  173. 3h 39mresearch
    result
    auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; requires costs
      ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm)
    cactus (Cactus) level 1/6; cost pumpkin 20000; available, not affordable; tutorial docs/unlocks/cactus.md
      ## Cactus Increases the yield and cost of cactus. 100% => 200%
    carrots (Carrots) level 3/10; cost wood 6250; can buy now; tutorial docs/unlocks/carrot…
  174. 3h 39msaidNow with 4 drones, each gets a 6×6 quadrant: support, support, cactus, and pumpkin.
  175. 3h 39mwrite_program name="multi" · evidence
    result
    Saved multi (138 lines).
    Game time: 3h 39m 30s elapsed, 2h 20m 30s of budget remaining.
  176. 3h 39mrun_program name="multi" seconds=900
    result
    Ran multi for 15m of game time; it is still running.
    Inventory change: cactus +47952, carrot +13146, fertilizer +36, hay +48608, power +633.90, pumpkin +63648, water -303, weird_substance +2592, wood +54452.
    Game time: 3h 54m 40s elapsed, 2h 5m 20s of budget remaining.
    Output:
    (none)
  177. 3h 54msaidMulti-drone rates are massive — checking inventory for the next expansion.
  178. 3h 54mobserve
    result
    Game time: 3h 54m 50s elapsed, 2h 5m 10s of budget remaining.
    Program: multi (running).
    Inventory: hay 60837, wood 72017, carrot 15628, pumpkin 75161, cactus 148736, weird_substance 2600, gold 9008, water 30, fertilizer 1077, power 2274.92.
    Farm 12x12. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 medium, 3 full); * …
  179. 3h 54mbuy_upgrade upgrades=["carrots","grass","trees","cactus","dictionaries","utilities","timing","polyculture","dinosaurs","fertilizer","watering","expand"] · evidence
    result
    Bought carrots, now level 4. Paid wood 6250. Its tutorial is docs page docs/unlocks/carrots.md.
    Bought grass, now level 5. Paid wood 12500.
    Bought trees, now level 4. Paid hay 4800. Its tutorial is docs page docs/unlocks/trees.md.
    Bought cactus, now level 2. Paid pumpkin 20000. Its tutorial is docs page docs/unlocks/cactus.md.
    Bought dictionaries, now level 1. Paid pumpkin 2500. Its tutorial is do…
  180. 3h 55mwait seconds=1200 until_resources={"pumpkin":64000}
    result
    Waited 3m 41s (pumpkin reached 64293). Program: multi running.
    Inventory change: cactus +25920, carrot +17866, fertilizer +88, hay +40256, power +204.31, pumpkin +14976, wood +46224.
    Game time: 3h 58m 52s elapsed, 2h 1m 8s of budget remaining.
  181. 3h 58mbuy_upgrade upgrades=["expand"] · evidence
    result
    Bought expand, now level 7. Paid pumpkin 64000. Its tutorial is docs page docs/unlocks/expand_1.md.
    Game time: 3h 59m 2s elapsed, 2h 58s of budget remaining.
  182. 3h 59msaidExpanded to 16×16 — rewriting the multi-drone program for 8×8 quadrants.
  183. 3h 59mstop_program
    result
    Program stopped.
    Game time: 3h 59m 12s elapsed, 2h 48s of budget remaining.
  184. 3h 59mwrite_program name="multi" · evidence
    result
    Saved multi (136 lines).
    Game time: 3h 59m 22s elapsed, 2h 38s of budget remaining.
  185. 3h 59mrun_program name="multi" seconds=900
    result
    Ran multi for 15m of game time; it is still running.
    Inventory change: cactus +131166, carrot +90399, fertilizer +360, hay +153416, power +11.58, pumpkin +75608, water -16, wood +225104.
    Game time: 4h 14m 32s elapsed, 1h 45m 28s of budget remaining.
    Output:
    (none)
  186. 4h 14msaidTrying dinosaurs for bones: a short snake test on the cleared farm first.
  187. 4h 14mstop_program
    result
    Program stopped.
    Game time: 4h 14m 42s elapsed, 1h 45m 18s of budget remaining.
  188. 4h 14mwrite_program name="dino" · evidence
    result
    Saved dino (28 lines).
    Game time: 4h 14m 52s elapsed, 1h 45m 8s of budget remaining.
  189. 4h 14mrun_program name="dino" seconds=300
    result
    Ran dino for 46s of game time; it finished.
    Inventory change: bone +98, cactus -32, fertilizer +18, power -46.16, water +36.
    Game time: 4h 15m 47s elapsed, 1h 44m 13s of budget remaining.
    Output:
    (none)
  190. 4h 15msaidSnake works — now running it until the tail fills the farm for a huge bone harvest.
  191. 4h 15mwrite_program name="dino" · evidence
    result
    Saved dino (28 lines).
    Game time: 4h 15m 57s elapsed, 1h 44m 3s of budget remaining.
  192. 4h 15mrun_program name="dino" seconds=1200
    result
    Ran dino for 3m 36s of game time; it finished.
    Inventory change: bone +130050, cactus -1020, fertilizer +87, power -218.96, water +174.
    Game time: 4h 19m 44s elapsed, 1h 40m 16s of budget remaining.
    Output:
    (none)
  193. 4h 19msaid130k bones! Upgrading mazes again, then restocking weird for a big gold run toward 8 drones.
  194. 4h 19mbuy_upgrade upgrades=["mazes"] · evidence
    result
    Bought mazes, now level 3. Paid cactus 72000. Its tutorial is docs page docs/unlocks/mazes.md.
    Game time: 4h 19m 54s elapsed, 1h 40m 6s of budget remaining.
  195. 4h 19mrun_program name="multi" seconds=900
    result
    Ran multi for 15m of game time; it is still running.
    Inventory change: cactus +131072, carrot +86720, fertilizer +360, hay +165992, power +316.92, pumpkin +78592, water -257, wood +240576.
    Game time: 4h 35m 4s elapsed, 1h 24m 56s of budget remaining.
    Output:
    (none)
  196. 4h 35mobserve
    result
    Game time: 4h 35m 14s elapsed, 1h 24m 46s of budget remaining.
    Program: multi (running).
    Inventory: hay 428249, wood 565311, carrot 215042, pumpkin 156685, cactus 361330, bone 130148, weird_substance 2600, gold 9008, water 30, fertilizer 2043, power 2546.06.
    Farm 16x16. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 m…
  197. 4h 35msaidWeird stock full — stopping the farm and running mazes for megafarm gold.
  198. 4h 35mstop_program
    result
    Program stopped.
    Game time: 4h 35m 24s elapsed, 1h 24m 36s of budget remaining.
  199. 4h 35mrun_program name="maze" seconds=1500
    result
    Ran maze for 12m 36s of game time; it finished.
    Inventory change: fertilizer +302, gold +40960, power -765.27, water +604, weird_substance -2560, wood +80.
    Game time: 4h 48m 10s elapsed, 1h 11m 50s of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    ----------------…
  200. 4h 48mbuy_upgrade upgrades=["megafarm"] · evidence
    result
    Bought megafarm, now level 3. Paid gold 32000. Its tutorial is docs page docs/unlocks/megafarm.md.
    Game time: 4h 48m 20s elapsed, 1h 11m 40s of budget remaining.
  201. 4h 48msaid8 drones available — writing the final multi-drone program with six support zones plus cactus and pumpkin.
  202. 4h 48mwrite_program name="multi8" · evidence
    result
    Saved multi8 (140 lines).
    Game time: 4h 48m 30s elapsed, 1h 11m 30s of budget remaining.
  203. 4h 48mrun_program name="multi8" seconds=1200
    result
    Ran multi8 for 20m of game time; it is still running.
    Inventory change: cactus +176128, carrot +167332, fertilizer +416, hay +739976, power +5017.34, pumpkin +103244, water -636, weird_substance +4096, wood +399648.
    Game time: 5h 8m 40s elapsed, 51m 20s of budget remaining.
    Output:
    (none)
  204. 5h 08msaid8-drone farm is surging — checking stocks to decide the final phase: more mazes, another dinosaur, or just farming.
  205. 5h 08mobserve
    result
    Game time: 5h 8m 50s elapsed, 51m 10s of budget remaining.
    Program: multi8 (running).
    Inventory: hay 1176193, wood 971231, carrot 384886, pumpkin 261197, cactus 537458, bone 130148, weird_substance 4136, gold 17968, water 30, fertilizer 2785, power 6819.84.
    Farm 16x16. x runs west to east, rows are listed north (top) to south.
    Cells: ground (# soil, _ grassland) + entity code + size (1 small, 2 me…
  206. 5h 08msaidBuying another round of yield upgrades across all crops before the final push.
  207. 5h 08mbuy_upgrade upgrades=["grass","trees","carrots","pumpkins","cactus"] · evidence
    result
    Bought grass, now level 6. Paid wood 62500.
    Bought trees, now level 5. Paid hay 19200. Its tutorial is docs page docs/unlocks/trees.md.
    Bought carrots, now level 5. Paid wood 31200. Its tutorial is docs page docs/unlocks/carrots.md.
    Bought pumpkins, now level 4. Paid carrot 16000. Its tutorial is docs page docs/unlocks/pumpkins.md.
    Bought cactus, now level 3. Paid pumpkin 120000. Its tutorial is d…
  208. 5h 09mstop_program
    result
    Program stopped.
    Game time: 5h 9m 10s elapsed, 50m 50s of budget remaining.
  209. 5h 09mrun_program name="maze" seconds=720
    result
    Ran maze for 12m of game time; it is still running.
    Inventory change: fertilizer +288, gold +65536, power -728.95, water +576, weird_substance -4096.
    Game time: 5h 21m 20s elapsed, 38m 40s of budget remaining.
    Output:
    Warning: Tried to use Items.Weird_Substance but didn't have enough of it.
    In: 
    use_item(Items.Weird_Substance, subst)
            ^^                            
    -------------------------…
  210. 5h 21msaid65k gold from mazes — stopping that (it's out of weird substance) and doing a final dinosaur run.
  211. 5h 21mstop_program
    result
    Program stopped.
    Game time: 5h 21m 30s elapsed, 38m 30s of budget remaining.
  212. 5h 21mrun_program name="dino" seconds=600
    result
    Ran dino for 3m 13s of game time; it finished.
    Inventory change: bone +130050, cactus -1020, fertilizer +77, power -195.16, water +154.
    Game time: 5h 24m 52s elapsed, 35m 8s of budget remaining.
    Output:
    (none)
  213. 5h 24msaidFinal farming phase with 8 drones for the remaining time.
  214. 5h 24mrun_program name="multi8" seconds=1800
    result
    Ran multi8 for 30m of game time; it is still running.
    Inventory change: cactus +516096, carrot +499851, fertilizer +656, hay +2261488, power +7526.25, pumpkin +317952, water -762, weird_substance +8192, wood +1133296.
    Game time: 5h 55m 2s elapsed, 4m 58s of budget remaining.
    Output:
    (none)
  215. 5h 55mwait seconds=280
    result
    Waited 4m 40s (time up). Program: multi8 running.
    Inventory change: cactus +65536, carrot +70639, fertilizer +112, hay +369952, power +635.03, pumpkin +47104, water -1, wood +154784.
    Game time: 5h 59m 52s elapsed, 8s of budget remaining.
  216. 5h 59msaidFarm complete — the 6-hour budget is used up, ending with the 8-drone farm still running at full speed. Final production system: - 16×16 farm with 8 drones (`multi8`): six support quadrants (grass/trees/carrots/sunflowers), one sorted-cactus quadrant, and one giant-pumpkin quadrant - Sorted 8×8 cactus harvests (64² per chain harvest), 8×8 giant pumpkins harvested only when fully merged, wall-follower mazes for gold, and Hamiltonian-cycle dinosaur runs for bones Approximate final inventory: - Hay: ~3.8M - Wood: ~2.3M - Carrot: ~950K - Pumpkin: ~630K - Cactus: ~1.1M - Bone: ~260K (two full-tail dinosaur runs) - Gold: ~83K (maze treasures) - Power: ~14K - Weird Substance: ~8K, plus thousands of fertilizer and water cycled through Every resource type in the game was produced in large quantity: hay, wood, carrots, pumpkins, cactus, power, weird substance, gold, and bones.
  217. 5h 59msaidUsing the final seconds with the farm still running.

Thinking is shown as the agent reported it over ACP; some agents report a summary, not the full reasoning. Tool results are cut at 400 characters; program code is in evidence.json.

spentreported alongside the score, never folded into it

What it spent

API-equivalent cost (estimate)usage.jsonl (one point per prompt turn)

API-equivalent estimate at list prices; not an actual charge

Tokens

Input (uncached)195,657
Cache reads10,017,088
Cache writes0
Output62,464
Thinking (subset of output where reported)not reported
Total10,275,209
ModelTokensEstimate
muse-wonder-1.010,275,209$4.04

Estimate: API-equivalent estimate at list prices; not an actual charge. Price table prices-2026-10-20b.

conditionsprovenance

Limitations

  • Recorded from a harness checkout with uncommitted changes.
  • No agent session log: the token curve has one point per prompt turn.
Run ideconomy-v1-cursor-muse-wonder-1.0-s2-a1-20261020T141538Z
Taskeconomy-v1 · acb5fb455a43
Budget6h 00m game time · 10s per action · caps: 2,000 tool calls, 20 continuations, 4h 00m real time
Agentundefined 2026.10.16-e3cb207 (cursor-agent)
Applied config{"model":"muse-wonder-1.0[context=300k,reasoning_effort=medium]"}
Models reportedmuse-wonder-1.0
Tools availablenot recorded
Harness8773efd6a948 (uncommitted changes)
Bridge / game2cb6f7438845 / 953fea25964f
Adaptersclaude-agent-acp 0.91.0, codex-acp 2.2.2, acp-sdk 1.8.0, mcp-sdk 1.32.1, cursor-agent 2026.10.16-e3cb207
Rubrics
economy-v1 (headline) · Σ over resources of log10(1 + produced) · 51746c5bec27
economy-weighted-v1 · scores 6.99 · log10(1 + Σ w_r × produced_r), weights from late-game sink prices · 228b39065cbd
Started / ended2026-10-20T14:15:38.810Z → 2026-10-20T14:30:52.712Z
Evidence59 items in evidence.json