Muse Wonder, seed 3
Cursor · medium reasoning effort
Hay 68.8m produced, 7.84 points
Wood 100m produced, 8.00 points
Carrot 40.2m produced, 7.60 points
Pumpkin 5.45m produced, 6.74 points
Cactus 585k produced, 5.77 points
Power 130k produced, 5.11 points
Bone 1.91m produced, 6.28 points
Weird substance 14.4k produced, 4.16 points
Gold 75.8k produced, 4.88 points
Water 36.7k produced, 4.56 points
Fertilizer 4.09k produced, 3.61 points
Produced by the end of the run. Pips: points each resource adds to the score, one per tenfold.
- Score · economy-v1
- 64.56orders of magnitude · model mean 61.37
- On seed 3
- #7of 16 models
- Cost
- $4.94API-equivalent estimate
- Real time
- 15m 03swall clock, not scored
timeline
Score and what the agent did, over game time
Ticks under the axis: upgrade purchases.
Data table
| Game time | Score |
|---|---|
| 0s | 0.00 |
| 1h 00m | 19.0 |
| 2h 00m | 35.6 |
| 3h 00m | 48.0 |
| 4h 00m | 53.6 |
| 5h 00m | 60.6 |
| 6h 00m | 64.6 |
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-played
How it played
| Measure | This run | Model mean | Seed 3 mean |
|---|---|---|---|
| Resources opened | 11 of 11 | 11 of 11 | 9.4 of 11 |
| Study | 65 | 44 | 46 |
| Action overhead | 9% | 8% | 11% |
| Tool calls | 201 | 178 | 228 |
| Program writes | 26 | 26 | 36 |
| Program stints | 30 | 34 | 40 |
| Median stint | 9m 30s | 8m 30s | 7m 06s |
| Cost per point | $0.077 | $0.068 | $0.052 |
Farm idle 4% of samples; longest stint 55m 30s; 0 rejected writes.
production
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.
upgrades
Upgrade timeline
Every purchase, with what the agent was told
| Game time | Call | Unlocked | Result the agent saw |
|---|---|---|---|
| 1m 45s | {"upgrades":["loops"]} | loops 1 | Bought loops, now level 1. Paid hay 5. Its tutorial is docs page docs/scripting/while.md. |
| 4m 15s | {"upgrades":["speed","expand","plant"]} | speed 1, expand 1, plant 1 | Bought speed, now level 1. Paid hay 20. Its tutorial is docs page docs/unlocks/speed.md. |
| 8m 35s | {"upgrades":["operators","carrots"]} | operators 1, carrots 1 | Bought operators, now level 1. Paid hay 150, wood 10. Its tutorial is docs page docs/scripting/operators.md. |
| 9m 35s | {"upgrades":["expand","speed"]} | expand 2, speed 2 | Bought expand, now level 2. Paid wood 20. Its tutorial is docs page docs/unlocks/expand_1.md. |
| 16m 10s | {"upgrades":["variables","functions","senses","trees","watering","expand"]} | variables 1, functions 1, functions 1, senses 1, trees 1, watering 1, expand 3 | Bought variables, now level 1. Paid carrot 35. Its tutorial is docs page docs/scripting/variables.md. |
| 23m 30s | {"upgrades":["pumpkins","expand","speed","debug","import"]} | pumpkins 1, expand 4, debug 1 | Bought pumpkins, now level 1. Paid wood 500, carrot 200. Its tutorial is docs page docs/unlocks/pumpkins.md. |
| 36m 20s | {"upgrades":["carrots","grass","trees"]} | carrots 2, grass 2, trees 2 | Bought carrots, now level 2. Paid wood 250. Its tutorial is docs page docs/unlocks/carrots.md. |
| 46m 40s | {"upgrades":["expand","speed","import"]} | expand 5, speed 3, import 1 | Bought expand, now level 5. Paid pumpkin 1000. Its tutorial is docs page docs/unlocks/expand_1.md. |
| 57m 30s | {"upgrades":["lists","sunflowers","fertilizer"]} | lists 1, sunflowers 1, fertilizer 1 | Bought lists, now level 1. Paid carrot 500. Its tutorial is docs page docs/scripting/lists.md. |
| 1h 08m | {"upgrades":["grass","cactus"]} | grass 3, cactus 1 | Bought grass, now level 3. Paid wood 500. |
| 1h 35m | {"upgrades":["expand"]} | expand 6 | Bought expand, now level 6. Paid pumpkin 8000. Its tutorial is docs page docs/unlocks/expand_1.md. |
| 1h 41m | {"upgrades":["speed","utilities"]} | speed 4, utilities 1 | Bought speed, now level 4. Paid carrot 500. Its tutorial is docs page docs/unlocks/speed.md. |
| 1h 42m | {"upgrades":["dinosaurs"]} | dinosaurs 1, hats 1 | Bought dinosaurs, now level 1. Paid cactus 2000. Its tutorial is docs page docs/unlocks/dinosaurs.md. |
| 1h 53m | {"upgrades":["mazes"]} | mazes 1 | Bought mazes, now level 1. Paid weird_substance 1000. Its tutorial is docs page docs/unlocks/mazes.md. |
| 1h 58m | {"upgrades":["megafarm"]} | megafarm 1 | Bought megafarm, now level 1. Paid gold 2000. Its tutorial is docs page docs/unlocks/megafarm.md. |
| 2h 16m | {"upgrades":["megafarm"]} | megafarm 2 | Bought megafarm, now level 2. Paid gold 8000. Its tutorial is docs page docs/unlocks/megafarm.md. |
| 2h 27m | {"upgrades":["polyculture","dictionaries","timing","speed"]} | polyculture 1, dictionaries 1, timing 1, speed 5 | Bought polyculture, now level 1. Paid pumpkin 3000. Its tutorial is docs page docs/unlocks/polyculture.md. |
| 2h 27m | {"upgrades":["carrots","pumpkins","trees","grass","watering","fertilizer"]} | carrots 3, pumpkins 2, trees 3, grass 4, watering 2, fertilizer 2 | Bought carrots, now level 3. Paid wood 1250. Its tutorial is docs page docs/unlocks/carrots.md. |
| 2h 28m | {"upgrades":["dinosaurs"]} | dinosaurs 2, hats 1 | Bought dinosaurs, now level 2. Paid cactus 12000. Its tutorial is docs page docs/unlocks/dinosaurs.md. |
| 2h 32m | {"upgrades":["polyculture","costs"]} | polyculture 2, costs 1 | Bought polyculture, now level 2. Paid bone 10000. Its tutorial is docs page docs/unlocks/polyculture.md. |
| 3h 11m | {"upgrades":["expand","mazes"]} | expand 7, mazes 2 | Bought expand, now level 7. Paid pumpkin 64000. Its tutorial is docs page docs/unlocks/expand_1.md. |
| 3h 11m | {"upgrades":["watering","watering","watering"]} | watering 3, watering 4, watering 5 | Bought watering, now level 3. Paid wood 800. Its tutorial is docs page docs/unlocks/watering.md. |
| 3h 37m | {"upgrades":["megafarm"]} | megafarm 3 | Bought megafarm, now level 3. Paid gold 32000. Its tutorial is docs page docs/unlocks/megafarm.md. |
| 3h 53m | {"upgrades":["pumpkins","pumpkins","pumpkins","carrots","carrots","trees","trees","grass","grass"]} | pumpkins 3, pumpkins 4, pumpkins 5, carrots 4, carrots 5, trees 4, trees 5, grass 5, grass 6 | Bought pumpkins, now level 3. Paid carrot 4000. Its tutorial is docs page docs/unlocks/pumpkins.md. |
| 3h 53m | {"upgrades":["cactus"]} | cactus 2 | Bought cactus, now level 2. Paid pumpkin 20000. Its tutorial is docs page docs/unlocks/cactus.md. |
| 4h 10m | {"upgrades":["expand"]} | expand 8 | Bought expand, now level 8. Paid pumpkin 512000. Its tutorial is docs page docs/unlocks/expand_1.md. |
| 4h 26m | {"upgrades":["dinosaurs"]} | dinosaurs 3, hats 1 | Bought dinosaurs, now level 3. Paid cactus 72000. Its tutorial is docs page docs/unlocks/dinosaurs.md. |
| 4h 35m | {"upgrades":["polyculture","polyculture"]} | polyculture 3, polyculture 4 | Bought polyculture, now level 3. Paid bone 50000. Its tutorial is docs page docs/unlocks/polyculture.md. |
| 4h 36m | {"upgrades":["pumpkins","carrots","trees","grass","cactus","fertilizer","watering"]} | pumpkins 6, carrots 6, trees 6, grass 7, cactus 3, fertilizer 3, watering 6 | Bought pumpkins, now level 6. Paid carrot 256000. Its tutorial is docs page docs/unlocks/pumpkins.md. |
| 5h 01m | {"upgrades":["pumpkins","carrots","trees","grass","cactus","watering"]} | pumpkins 7, carrots 7, trees 7, grass 8, cactus 4, watering 7 | Bought pumpkins, now level 7. Paid carrot 1020000. Its tutorial is docs page docs/unlocks/pumpkins.md. |
Programs 26 writes, code as the agent wrote it
main.py
r11m 20sRan
harvest() harvest() harvest() harvest() harvest() harvest() harvest() harvest() harvest() harvest()- Write result the agent saw
Saved main (10 lines). Game time: 1m 30s elapsed, 5h 58m 30s of budget remaining.
- run_program at 1m 30s for 30s (agent saw)
Ran main for 5s of game time; it finished. Inventory change: hay +10. Game time: 1m 45s elapsed, 5h 58m 15s of budget remaining. Output: (none)
r21m 55sRan
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: 2m 5s elapsed, 5h 57m 55s of budget remaining.
- run_program at 2m 05s for 120s (agent saw)
Ran main for 2m of game time; it is still running. Inventory change: hay +240. Game time: 4m 15s elapsed, 5h 55m 45s of budget remaining. Output: (none)
r36m 15sRan
while True: if can_harvest(): harvest() plant(Entities.Bush) move(North)Changes from the previous revision
while True: - harvest() + if can_harvest(): + harvest() + plant(Entities.Bush) + move(North)
- Write result the agent saw
Saved main (5 lines). Game time: 6m 25s elapsed, 5h 53m 35s of budget remaining.
- run_program at 6m 25s for 120s (agent saw)
Ran main for 2m of game time; it is still running. Inventory change: hay +7, wood +72. Game time: 8m 35s elapsed, 5h 51m 25s of budget remaining. Output: (none)
r410m 25sRan
while True: if can_harvest(): harvest() plant(Entities.Bush) move(North) if can_harvest(): harvest() plant(Entities.Bush) move(North) if can_harvest(): harvest() plant(Entities.Bush) move(North) move(East) if can_harvest(): harvest() move(North) if can_harvest(): harvest() move(North) if can_harvest(): harvest() move(North) move(East) if can_harvest(): harvest() plant(Entities.Carrot) move(North) if can_harvest(): harvest() plant(Entities.Carrot) move(North) if can_harvest(): harvest() plant(Entities.Carrot) move(North) move(East)Changes from the previous revision
plant(Entities.Bush) move(North) + if can_harvest(): + harvest() + plant(Entities.Bush) + move(North) + if can_harvest(): + harvest() + plant(Entities.Bush) + move(North) + move(East) + if can_harvest(): + harvest() + move(North) + if can_harvest(): + harvest() + move(North) + if can_harvest(): + harvest() + move(North) + move(East) + if can_harvest(): + harvest() + plant(Entities.Carrot) + move(North) + if can_harvest(): + harvest() + plant(Entities.Carrot) + move(North) + if can_harvest(): + harvest() + plant(Entities.Carrot) + move(North) + move(East)
- Write result the agent saw
Saved main (37 lines). Game time: 10m 35s elapsed, 5h 49m 25s of budget remaining.
- run_program at 10m 50s for 300s (agent saw)
Ran main for 5m of game time; it is still running. Inventory change: carrot +222, hay +280, wood +213. Game time: 16m elapsed, 5h 44m of budget remaining. Output: (none)
r518m 00sRan
def handle(): x = get_pos_x() y = get_pos_y() e = get_entity_type() if can_harvest(): harvest() e = None if e == None: if x % 4 == 0: if (x + y) % 2 == 0: if get_ground_type() == Grounds.Soil: till() plant(Entities.Tree) if get_water() < 0.8: use_item(Items.Water) elif x % 4 == 1: if get_ground_type() == Grounds.Soil: till() elif x % 4 == 2: if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) if get_water() < 0.8: use_item(Items.Water) else: if get_ground_type() == Grounds.Soil: till() plant(Entities.Bush) if get_water() < 0.8: use_item(Items.Water) clear() while True: n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East)Changes from the previous revision
- while True: - if can_harvest(): - harvest() - plant(Entities.Bush) - move(North) - if can_harvest(): - harvest() - plant(Entities.Bush) - move(North) - if can_harvest(): - harvest() - plant(Entities.Bush) - move(North) - move(East) - if can_harvest(): - harvest() - move(North) - if can_harvest(): - harvest() - move(North) - if can_harvest(): - harvest() - move(North) - move(East) - if can_harvest(): - harvest() - plant(Entities.Carrot) - move(North) - if can_harvest(): - harvest() - plant(Entities.Carrot) - move(North) + def handle(): + x = get_pos_x() + y = get_pos_y() + e = get_entity_type() if can_harvest(): harvest() - plant(Entities.Carrot) - move(North) - move(East) + e = None + if e == None: + if x % 4 == 0: + if (x + y) % 2 == 0: + if get_ground_type() == Grounds.Soil: + till() + plant(Entities.Tree) + if get_water() < 0.8: + use_item(Items.Water) + elif x % 4 == 1: + if get_ground_type() == Grounds.Soil: + till() + elif x % 4 == 2: + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Carrot) + if get_water() < 0.8: + use_item(Items.Water) + else: + if get_ground_type() == Grounds.Soil: + till() + plant(Entities.Bush) + if get_water() < 0.8: + use_item(Items.Water) + + clear() + while True: + n = get_world_size() + for i in range(n): + for j in range(n): + handle() + move(North) + move(East)
- Write result the agent saw
Saved main (39 lines). Game time: 18m 10s elapsed, 5h 41m 50s of budget remaining.
- run_program at 18m 10s for 300s (agent saw)
Ran main for 5m of game time; it is still running. Inventory change: carrot +212, hay +237, water -12, wood +569. Game time: 23m 20s elapsed, 5h 36m 40s of budget remaining. Output: Warning: Tried to use Items.Water but didn't have enough of it. In: handle use_item(Items.Water) ^^ -------------------------------------------------------------------- Warning: Tried to use Items.Water but didn't have enough of it. In: handle use_item(Items.Water) ^^ -------------------------------------------------------------------- Warning: Tried to use Items.Water but didn't have enough of it. In: handle use_item(Items.Water) ^^ --------------------------------------------------------------------
r624m 50sRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 4 if n >= 8: p = 6 e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() e = None if e == None: if x % 4 == 0: if (x + y) % 2 == 0: if get_ground_type() == Grounds.Soil: till() plant(Entities.Tree) water_if() elif x % 4 == 1: if get_ground_type() == Grounds.Soil: till() elif x % 4 == 2: if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() else: if get_ground_type() == Grounds.Soil: till() plant(Entities.Bush) water_if() clear() while True: n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East)Changes from the previous revision
+ def water_if(): + if num_items(Items.Water) > 0 and get_water() < 0.8: + use_item(Items.Water) + def handle(): x = get_pos_x() y = get_pos_y() + n = get_world_size() + p = 4 + if n >= 8: + p = 6 e = get_entity_type() - if can_harvest(): - harvest() - e = None - if e == None: - if x % 4 == 0: - if (x + y) % 2 == 0: - if get_ground_type() == Grounds.Soil: - till() - plant(Entities.Tree) - if get_water() < 0.8: - use_item(Items.Water) - elif x % 4 == 1: - if get_ground_type() == Grounds.Soil: - till() - elif x % 4 == 2: + if x < p and y < p: + if e == Entities.Dead_Pumpkin: + plant(Entities.Pumpkin) + water_if() + elif e == None: if get_ground_type() != Grounds.Soil: till() - plant(Entities.Carrot) - if get_water() < 0.8: - use_item(Items.Water) + plant(Entities.Pumpkin) + water_if() + elif e == Entities.Pumpkin: + if x == 0 and y == 0 and can_harvest(): + harvest() + plant(Entities.Pumpkin) + water_if() else: - if get_ground_type() == Grounds.Soil: - till() - plant(Entities.Bush) - if get_water() < 0.8: - use_item(Items.Water) + if can_harvest(): + harvest() + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Pumpkin) + water_if() + else: + if can_harvest(): + harvest() + e = None + if e == None: + if x % 4 == 0: + if (x + y) % 2 == 0: + if get_ground_type() == Grounds.Soil: + till() + plant(Entities.Tree) + water_if() + elif x % 4 == 1: + if get_ground_type() == Grounds.Soil: + till() + elif x % 4 == 2: + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Carrot) + water_if() + else: + if get_ground_type() == Grounds.Soil: + till() + plant(Entities.Bush) + water_if() clear()
- Write result the agent saw
Saved main (66 lines). Game time: 25m elapsed, 5h 35m of budget remaining.
- run_program at 25m 00s for 600s (agent saw)
Ran main for 10m of game time; it is still running. Inventory change: carrot -76, hay +467, pumpkin +478, water -2, wood +1183. Game time: 35m 10s elapsed, 5h 24m 50s of budget remaining. Output: Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ -------------------------------------------------------------------- Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ --------------------------------------------------------------------
r736m 10sRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 4 if n >= 8: p = 6 e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() e = None if e == None: if y >= p: if x % 2 == 0: plant_carrot() elif x % 4 == 1: if get_ground_type() == Grounds.Soil: till() else: plant_on_grassland(Entities.Bush) else: if x == p: if (x + y) % 2 == 0: plant_on_grassland(Entities.Tree) elif get_ground_type() == Grounds.Soil: till() else: plant_carrot() clear() while True: n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East)Changes from the previous revision
use_item(Items.Water) + def plant_carrot(): + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Carrot) + water_if() + + def plant_on_grassland(ent): + if get_ground_type() == Grounds.Soil: + till() + plant(ent) + water_if() + def handle(): x = get_pos_x() e = None if e == None: - if x % 4 == 0: - if (x + y) % 2 == 0: + if y >= p: + if x % 2 == 0: + plant_carrot() + elif x % 4 == 1: if get_ground_type() == Grounds.Soil: till() - plant(Entities.Tree) - water_if() - elif x % 4 == 1: - if get_ground_type() == Grounds.Soil: - till() - elif x % 4 == 2: - if get_ground_type() != Grounds.Soil: - till() - plant(Entities.Carrot) - water_if() + else: + plant_on_grassland(Entities.Bush) else: - if get_ground_type() == Grounds.Soil: - till() - plant(Entities.Bush) - water_if() + if x == p: + if (x + y) % 2 == 0: + plant_on_grassland(Entities.Tree) + elif get_ground_type() == Grounds.Soil: + till() + else: + plant_carrot() clear()
- Write result the agent saw
Saved main (75 lines). Game time: 36m 20s elapsed, 5h 23m 40s of budget remaining.
- run_program at 36m 30s for 600s (agent saw)
Ran main for 10m of game time; it is still running. Inventory change: carrot +573, hay +80, pumpkin +632, water -3, wood +504. Game time: 46m 40s elapsed, 5h 13m 20s of budget remaining. Output: Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ -------------------------------------------------------------------- Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ -------------------------------------------------------------------- Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ -------------------------------------------------------------------- Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ --------------------------------------------------------------------
r858m 40sRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 4 if n >= 8: p = 6 e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() e = None if e == None: if y >= p: if x % 2 == 0: plant_carrot() else: plant_sunflower() else: if x == p: if (x + y) % 2 == 0: plant_on_grassland(Entities.Tree) elif get_ground_type() == Grounds.Soil: till() else: plant_carrot() clear() while True: n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East)Changes from the previous revision
water_if() + def plant_sunflower(): + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Sunflower) + water_if() + def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: if x % 2 == 0: plant_carrot() - elif x % 4 == 1: - if get_ground_type() == Grounds.Soil: - till() else: - plant_on_grassland(Entities.Bush) + plant_sunflower() else: if x == p:
- Write result the agent saw
Saved main (78 lines). Game time: 58m 50s elapsed, 5h 1m 10s of budget remaining.
- run_program at 58m 50s for 120s (agent saw)
Ran main for 2m of game time; it is still running. Inventory change: carrot +29, fertilizer +12, hay -16, power +21.73, pumpkin +649, water -2, wood +64. Game time: 1h 1m elapsed, 4h 59m of budget remaining. Output: (none)
r91h 09mRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 4 if n >= 8: p = 6 e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() e = None if e == None: if y >= p: if x % 4 == 1: plant_sunflower() elif x % 4 == 2: to_grassland() else: plant_carrot() else: if x == p: if (x + y) % 2 == 0: plant_on_grassland(Entities.Tree) else: to_grassland() else: plant_carrot() clear() while True: n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East)Changes from the previous revision
water_if() + def to_grassland(): + if get_ground_type() == Grounds.Soil: + till() + def handle(): x = get_pos_x() if e == None: if y >= p: - if x % 2 == 0: - plant_carrot() - else: + if x % 4 == 1: plant_sunflower() + elif x % 4 == 2: + to_grassland() + else: + plant_carrot() else: if x == p: if (x + y) % 2 == 0: plant_on_grassland(Entities.Tree) - elif get_ground_type() == Grounds.Soil: - till() + else: + to_grassland() else: plant_carrot()
- Write result the agent saw
Saved main (84 lines). Game time: 1h 9m 32s elapsed, 4h 50m 28s of budget remaining.
- run_program at 1h 09m for 600s (agent saw)
Ran main for 10m of game time; it is still running. Inventory change: carrot +825, fertilizer +60, hay +1076, power -53.93, pumpkin +3617, water -2, wood +960. Game time: 1h 19m 42s elapsed, 4h 40m 18s of budget remaining. Output: (none)
r101h 20mRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 4 if n >= 8: p = 6 e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() e = None if e == None: if y >= p: if x % 2 == 0: plant_carrot() else: plant_sunflower() else: if x == p: if (x + y) % 2 == 0: plant_on_grassland(Entities.Tree) else: to_grassland() else: plant_carrot() clear() while True: n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East)Changes from the previous revision
if e == None: if y >= p: - if x % 4 == 1: - plant_sunflower() - elif x % 4 == 2: - to_grassland() - else: + if x % 2 == 0: plant_carrot() + else: + plant_sunflower() else: if x == p:
- Write result the agent saw
Saved main (82 lines). Game time: 1h 20m 12s elapsed, 4h 39m 48s of budget remaining.
- run_program at 1h 20m for 900s (agent saw)
Ran main for 15m of game time; it is still running. Inventory change: carrot +625, fertilizer +90, hay -628, power +231.07, pumpkin +5186, water -3, wood +1002. Game time: 1h 35m 22s elapsed, 4h 24m 38s of budget remaining. Output: (none)
r111h 36mRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def goto(tx, ty): while get_pos_x() != tx: move(East) while get_pos_y() != ty: move(North) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 6 c = 5 cx = n - c e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif x >= cx and y < c: if e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() elif e != Entities.Cactus: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() else: if can_harvest(): harvest() e = None if e == None: m = (x + y) % 10 if m <= 3: plant_carrot() elif m == 4: to_grassland() elif m == 5: plant_on_grassland(Entities.Tree) elif m <= 7: plant_sunflower() elif m == 8: plant_on_grassland(Entities.Bush) else: to_grassland() def sort_tile(x, y, cx, cy, c): goto(x, y) if get_entity_type() != Entities.Cactus: return False sw = False cur = measure() if cur == None: return False if x < cx + c - 1: es = measure(East) if es != None and cur > es: swap(East) sw = True cur = measure() if y < cy + c - 1: ns = measure(North) if ns != None and cur != None and cur > ns: swap(North) sw = True return sw def cactus_cycle(): n = get_world_size() c = 5 cx = n - c cy = 0 swapped = True while swapped: swapped = False for dx in range(c): if dx % 2 == 0: for dy in range(c): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True else: for dy in range(c - 1, -1, -1): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True all_grown = True for dx in range(c): for dy in range(c): goto(cx + dx, cy + dy) if get_entity_type() != Entities.Cactus: all_grown = False elif not can_harvest(): all_grown = False if all_grown: goto(cx, cy) harvest() goto(0, 0) def farm_pass(): n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East) clear() while True: farm_pass() cactus_cycle()Changes from the previous revision
use_item(Items.Water) + def goto(tx, ty): + while get_pos_x() != tx: + move(East) + while get_pos_y() != ty: + move(North) + def plant_carrot(): if get_ground_type() != Grounds.Soil: y = get_pos_y() n = get_world_size() - p = 4 - if n >= 8: - p = 6 + p = 6 + c = 5 + cx = n - c e = get_entity_type() if x < p and y < p: plant(Entities.Pumpkin) water_if() + elif x >= cx and y < c: + if e == None: + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Cactus) + water_if() + elif e != Entities.Cactus: + if can_harvest(): + harvest() + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Cactus) + water_if() else: if can_harvest(): e = None if e == None: - if y >= p: - if x % 2 == 0: - plant_carrot() - else: - plant_sunflower() + m = (x + y) % 10 + if m <= 3: + plant_carrot() + elif m == 4: + to_grassland() + elif m == 5: + plant_on_grassland(Entities.Tree) + elif m <= 7: + plant_sunflower() + elif m == 8: + plant_on_grassland(Entities.Bush) else: - if x == p: - if (x + y) % 2 == 0: - plant_on_grassland(Entities.Tree) - else: - to_grassland() - else: - plant_carrot() + to_grassland() - clear() - while True: + def sort_tile(x, y, cx, cy, c): + goto(x, y) + if get_entity_type() != Entities.Cactus: + return False + sw = False + cur = measure() + if cur == None: + return False + if x < cx + c - 1: + es = measure(East) + if es != None and cur > es: + swap(East) + sw = True + cur = measure() + if y < cy + c - 1: + ns = measure(North) + if ns != None and cur != None and cur > ns: + swap(North) + sw = True + return sw + + def cactus_cycle(): n = get_world_size() + c = 5 + cx = n - c + cy = 0 + swapped = True + while swapped: + swapped = False + for dx in range(c): + if dx % 2 == 0: + for dy in range(c): + if sort_tile(cx + dx, cy + dy, cx, cy, c): + swapped = True + else: + for dy in range(c - 1, -1, -1): + if sort_tile(cx + dx, cy + dy, cx, cy, c): + swapped = True + all_grown = True + for dx in range(c): + for dy in range(c): + goto(cx + dx, cy + dy) + if get_entity_type() != Entities.Cactus: + all_grown = False + elif not can_harvest(): + all_grown = False + if all_grown: + goto(cx, cy) + harvest() + goto(0, 0) + + def farm_pass(): + n = get_world_size() for i in range(n): for j in range(n): move(North) move(East) + + clear() + while True: + farm_pass() + cactus_cycle()
- Write result the agent saw
Saved main (156 lines). Game time: 1h 36m 22s elapsed, 4h 23m 38s of budget remaining.
- run_program at 1h 36m for 300s (agent saw)
Ran main for 5m of game time; it is still running. Inventory change: cactus +1875, carrot +114, fertilizer +30, hay +760, power -31.94, pumpkin +43, wood +256. Game time: 1h 41m 32s elapsed, 4h 18m 28s of budget remaining. Output: (none)
r121h 43mRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def goto(tx, ty): while get_pos_x() != tx: move(East) while get_pos_y() != ty: move(North) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_cactus(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() if num_items(Items.Weird_Substance) < 1200 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 6 c = 5 cx = n - c e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif x >= cx and y < c: if e == None: plant_cactus() elif e != Entities.Cactus: if can_harvest(): harvest() plant_cactus() else: if can_harvest(): harvest() e = None if e == None: m = (x + y) % 10 if m <= 3: plant_carrot() elif m == 4: to_grassland() elif m == 5: plant_on_grassland(Entities.Tree) elif m <= 7: plant_sunflower() elif m == 8: plant_on_grassland(Entities.Bush) else: to_grassland() def sort_tile(x, y, cx, cy, c): goto(x, y) if get_entity_type() != Entities.Cactus: return False sw = False cur = measure() if cur == None: return False if x < cx + c - 1: es = measure(East) if es != None and cur > es: swap(East) sw = True cur = measure() if y < cy + c - 1: ns = measure(North) if ns != None and cur != None and cur > ns: swap(North) sw = True return sw def cactus_cycle(): n = get_world_size() c = 5 cx = n - c cy = 0 swapped = True while swapped: swapped = False for dx in range(c): if dx % 2 == 0: for dy in range(c): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True else: for dy in range(c - 1, -1, -1): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True all_grown = True for dx in range(c): for dy in range(c): goto(cx + dx, cy + dy) if get_entity_type() != Entities.Cactus: all_grown = False elif not can_harvest(): all_grown = False if all_grown: goto(cx, cy) harvest() goto(0, 0) def farm_pass(): n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East) clear() while True: farm_pass() cactus_cycle()Changes from the previous revision
water_if() + def plant_cactus(): + if get_ground_type() != Grounds.Soil: + till() + plant(Entities.Cactus) + water_if() + if num_items(Items.Weird_Substance) < 1200 and num_items(Items.Fertilizer) > 0: + use_item(Items.Fertilizer) + def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: elif x >= cx and y < c: if e == None: - if get_ground_type() != Grounds.Soil: - till() - plant(Entities.Cactus) - water_if() + plant_cactus() elif e != Entities.Cactus: if can_harvest(): harvest() - if get_ground_type() != Grounds.Soil: - till() - plant(Entities.Cactus) - water_if() + plant_cactus() else: if can_harvest():
- Write result the agent saw
Saved main (158 lines). Game time: 1h 43m 22s elapsed, 4h 16m 38s of budget remaining.
- run_program at 1h 43m for 600s (agent saw)
Ran main for 10m of game time; it is still running. Inventory change: cactus +3752, carrot +471, fertilizer -40, hay +1258, power -28.87, pumpkin +71, water +1, weird_substance +1248, wood +602. Game time: 1h 53m 32s elapsed, 4h 6m 28s of budget remaining. Output: Warning: Didn't have the required items to plant Entities.Cactus. In: farm_pass <- handle <- plant_cactus plant(Entities.Cactus) ^^ --------------------------------------------------------------------
r131h 58mRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def goto(tx, ty): while get_pos_x() != tx: move(East) while get_pos_y() != ty: move(North) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_cactus(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() if num_items(Items.Weird_Substance) < 2000 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 6 c = 5 cx = n - c e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif x >= cx and y < c: return else: if can_harvest(): harvest() e = None if e == None: m = (x + y) % 10 if m <= 3: plant_carrot() elif m == 4: to_grassland() elif m == 5: plant_on_grassland(Entities.Tree) elif m <= 7: plant_sunflower() elif m == 8: plant_on_grassland(Entities.Bush) else: to_grassland() def sort_tile(x, y, cx, cy, c): goto(x, y) if get_entity_type() != Entities.Cactus: return False sw = False cur = measure() if cur == None: return False if x < cx + c - 1: es = measure(East) if es != None and cur > es: swap(East) sw = True cur = measure() if y < cy + c - 1: ns = measure(North) if ns != None and cur != None and cur > ns: swap(North) sw = True return sw def cactus_cycle(): n = get_world_size() c = 5 cx = n - c cy = 0 swapped = True while swapped: swapped = False for dx in range(c): if dx % 2 == 0: for dy in range(c): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True else: for dy in range(c - 1, -1, -1): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True all_grown = True for dx in range(c): for dy in range(c): goto(cx + dx, cy + dy) if get_entity_type() != Entities.Cactus: all_grown = False elif not can_harvest(): all_grown = False if all_grown: goto(cx, cy) harvest() def cactus_worker(): n = get_world_size() c = 5 cx = n - c while True: for dx in range(c): for dy in range(c): goto(cx + dx, dy) e = get_entity_type() if e == None: plant_cactus() elif e != Entities.Cactus: if can_harvest(): harvest() plant_cactus() cactus_cycle() def farm_pass(): n = get_world_size() for i in range(n): for j in range(n): handle() move(North) move(East) clear() spawn_drone(cactus_worker) while True: farm_pass()Changes from the previous revision
plant(Entities.Cactus) water_if() - if num_items(Items.Weird_Substance) < 1200 and num_items(Items.Fertilizer) > 0: + if num_items(Items.Weird_Substance) < 2000 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) water_if() elif x >= cx and y < c: - if e == None: - plant_cactus() - elif e != Entities.Cactus: - if can_harvest(): - harvest() - plant_cactus() + return else: if can_harvest(): goto(cx, cy) harvest() - goto(0, 0) + def cactus_worker(): + n = get_world_size() + c = 5 + cx = n - c + while True: + for dx in range(c): + for dy in range(c): + goto(cx + dx, dy) + e = get_entity_type() + if e == None: + plant_cactus() + elif e != Entities.Cactus: + if can_harvest(): + harvest() + plant_cactus() + cactus_cycle() + def farm_pass(): n = get_world_size() clear() + spawn_drone(cactus_worker) while True: farm_pass() - cactus_cycle()
- Write result the agent saw
Saved main (169 lines). Game time: 1h 59m 5s elapsed, 4h 55s 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: cactus +5941, carrot +1962, fertilizer -115, hay +2188, power +247.19, pumpkin +927, water -32, weird_substance +2184, wood +2544. Game time: 2h 9m 15s elapsed, 3h 50m 45s of budget remaining. Output: (none)
r142h 17mRan
def water_if(): if num_items(Items.Water) > 0 and get_water() < 0.8: use_item(Items.Water) def goto(tx, ty): while get_pos_x() != tx: move(East) while get_pos_y() != ty: move(North) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_cactus(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() if num_items(Items.Weird_Substance) < 2000 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = 6 c = 5 cx = n - c e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif x >= cx and y < c: return else: if can_harvest(): harvest() e = None if e == None: m = (x + y) % 10 if m <= 3: plant_carrot() elif m == 4: to_grassland() elif m == 5: plant_on_grassland(Entities.Tree) elif m <= 7: plant_sunflower() elif m == 8: plant_on_grassland(Entities.Bush) else: to_grassland() def sort_tile(x, y, cx, cy, c): goto(x, y) if get_entity_type() != Entities.Cactus: return False sw = False cur = measure() if cur == None: return False if x < cx + c - 1: es = measure(East) if es != None and cur > es: swap(East) sw = True cur = measure() if y < cy + c - 1: ns = measure(North) if ns != None and cur != None and cur > ns: swap(North) sw = True return sw def cactus_cycle(): n = get_world_size() c = 5 cx = n - c cy = 0 swapped = True while swapped: swapped = False for dx in range(c): if dx % 2 == 0: for dy in range(c): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True else: for dy in range(c - 1, -1, -1): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True all_grown = True for dx in range(c): for dy in range(c): goto(cx + dx, cy + dy) if get_entity_type() != Entities.Cactus: all_grown = False elif not can_harvest(): all_grown = False if all_grown: goto(cx, cy) harvest() def cactus_worker(): n = get_world_size() c = 5 cx = n - c while True: for dx in range(c): for dy in range(c): goto(cx + dx, dy) e = get_entity_type() if e == None: plant_cactus() elif e != Entities.Cactus: if can_harvest(): harvest() plant_cactus() cactus_cycle() def farm_worker(x0, width): n = get_world_size() while True: goto(x0, 0) for col in range(width): for j in range(n): handle() move(North) move(East) clear() spawn_drone(cactus_worker) n = get_world_size() w = n // 3 spawn_drone(farm_worker, 0, w) spawn_drone(farm_worker, w, w) farm_worker(2 * w, n - 2 * w)Changes from the previous revision
cactus_cycle() - def farm_pass(): + def farm_worker(x0, width): n = get_world_size() - for i in range(n): - for j in range(n): - handle() - move(North) - move(East) + while True: + goto(x0, 0) + for col in range(width): + for j in range(n): + handle() + move(North) + move(East) clear() spawn_drone(cactus_worker) - while True: - farm_pass() + n = get_world_size() + w = n // 3 + spawn_drone(farm_worker, 0, w) + spawn_drone(farm_worker, w, w) + farm_worker(2 * w, n - 2 * w)
- Write result the agent saw
Saved main (174 lines). Game time: 2h 17m 16s elapsed, 3h 42m 44s of budget remaining.
- run_program at 2h 17m for 600s (agent saw)
Ran main for 10m of game time; it is still running. Inventory change: cactus +8126, carrot +3843, fertilizer +10, hay +8368, power +624.79, pumpkin +5413, water -47, weird_substance +624, wood +5774. Game time: 2h 27m 26s elapsed, 3h 32m 34s of budget remaining. Output: Warning: Tried to use Items.Water but didn't have enough of it. In: farm_worker <- handle <- plant_carrot <- water_if use_item(Items.Water) ^^ --------------------------------------------------------------------- run_program at 2h 31m for 60s (agent saw)
Ran main for 1m of game time; it is still running. Inventory change: cactus +625, carrot +1231, fertilizer +12, hay +5688, power +34.92, pumpkin +1690, water -33, wood +3548. Game time: 2h 32m 54s elapsed, 3h 27m 6s of budget remaining. Output: (none)
r153h 11mRan
def get_p(): n = get_world_size() if n >= 16: return 8 return 6 def get_c(): n = get_world_size() if n >= 16: return 6 return 5 def water_if(): if num_items(Items.Water) > 5 and get_water() < 0.8: use_item(Items.Water) def goto(tx, ty): while get_pos_x() != tx: move(East) while get_pos_y() != ty: move(North) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_cactus(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() if num_items(Items.Weird_Substance) < 5000 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = get_p() c = get_c() cx = n - c e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif x >= cx and y < c: return else: if can_harvest(): harvest() e = None if e == None: m = (x + y) % 10 if m <= 3: plant_carrot() elif m == 4: to_grassland() elif m == 5: plant_on_grassland(Entities.Tree) elif m <= 7: plant_sunflower() elif m == 8: plant_on_grassland(Entities.Bush) else: to_grassland() def sort_tile(x, y, cx, cy, c): goto(x, y) if get_entity_type() != Entities.Cactus: return False sw = False cur = measure() if cur == None: return False if x < cx + c - 1: es = measure(East) if es != None and cur > es: swap(East) sw = True cur = measure() if y < cy + c - 1: ns = measure(North) if ns != None and cur != None and cur > ns: swap(North) sw = True return sw def cactus_cycle(): n = get_world_size() c = get_c() cx = n - c cy = 0 swapped = True while swapped: swapped = False for dx in range(c): if dx % 2 == 0: for dy in range(c): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True else: for dy in range(c - 1, -1, -1): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True all_grown = True for dx in range(c): for dy in range(c): goto(cx + dx, cy + dy) if get_entity_type() != Entities.Cactus: all_grown = False elif not can_harvest(): all_grown = False if all_grown: goto(cx, cy) harvest() def cactus_worker(): n = get_world_size() c = get_c() cx = n - c while True: for dx in range(c): for dy in range(c): goto(cx + dx, dy) e = get_entity_type() if e == None: plant_cactus() elif e != Entities.Cactus: if can_harvest(): harvest() plant_cactus() cactus_cycle() def farm_worker(x0, width): n = get_world_size() while True: goto(x0, 0) for col in range(width): for j in range(n): handle() move(North) move(East) clear() spawn_drone(cactus_worker) n = get_world_size() w = n // 3 spawn_drone(farm_worker, 0, w) spawn_drone(farm_worker, w, w) farm_worker(2 * w, n - 2 * w)Changes from the previous revision
+ def get_p(): + n = get_world_size() + if n >= 16: + return 8 + return 6 + + def get_c(): + n = get_world_size() + if n >= 16: + return 6 + return 5 + def water_if(): - if num_items(Items.Water) > 0 and get_water() < 0.8: + if num_items(Items.Water) > 5 and get_water() < 0.8: use_item(Items.Water) plant(Entities.Cactus) water_if() - if num_items(Items.Weird_Substance) < 2000 and num_items(Items.Fertilizer) > 0: + if num_items(Items.Weird_Substance) < 5000 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) y = get_pos_y() n = get_world_size() - p = 6 - c = 5 + p = get_p() + c = get_c() cx = n - c e = get_entity_type() def cactus_cycle(): n = get_world_size() - c = 5 + c = get_c() cx = n - c cy = 0 def cactus_worker(): n = get_world_size() - c = 5 + c = get_c() cx = n - c while True:
- Write result the agent saw
Saved main (186 lines). Game time: 3h 11m 40s elapsed, 2h 48m 20s of budget remaining.
- run_program at 3h 11m for 900s (agent saw)
Ran main for 15m of game time; it is still running. Inventory change: cactus +14904, carrot +86422, hay +114260, power +2629.34, pumpkin +23162, water -9, weird_substance +3240, wood +182680. Game time: 3h 27m elapsed, 2h 33m of budget remaining. Output: (none)
r163h 37mRan
def get_p(): n = get_world_size() if n >= 16: return 8 return 6 def get_c(): n = get_world_size() if n >= 16: return 6 return 5 def water_if(): if num_items(Items.Water) > 5 and get_water() < 0.8: use_item(Items.Water) def goto(tx, ty): while get_pos_x() != tx: move(East) while get_pos_y() != ty: move(North) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_cactus(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() if num_items(Items.Weird_Substance) < 5000 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = get_p() c = get_c() cx = n - c e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif x >= cx and y < c: return else: if can_harvest(): harvest() e = None if e == None: m = (x + y) % 10 if m <= 3: plant_carrot() elif m == 4: to_grassland() elif m == 5: plant_on_grassland(Entities.Tree) elif m <= 7: plant_sunflower() elif m == 8: plant_on_grassland(Entities.Bush) else: to_grassland() def sort_tile(x, y, cx, cy, c): goto(x, y) if get_entity_type() != Entities.Cactus: return False sw = False cur = measure() if cur == None: return False if x < cx + c - 1: es = measure(East) if es != None and cur > es: swap(East) sw = True cur = measure() if y < cy + c - 1: ns = measure(North) if ns != None and cur != None and cur > ns: swap(North) sw = True return sw def cactus_cycle(): n = get_world_size() c = get_c() cx = n - c cy = 0 swapped = True while swapped: swapped = False for dx in range(c): if dx % 2 == 0: for dy in range(c): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True else: for dy in range(c - 1, -1, -1): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True all_grown = True for dx in range(c): for dy in range(c): goto(cx + dx, cy + dy) if get_entity_type() != Entities.Cactus: all_grown = False elif not can_harvest(): all_grown = False if all_grown: goto(cx, cy) harvest() def cactus_worker(): n = get_world_size() c = get_c() cx = n - c while True: for dx in range(c): for dy in range(c): goto(cx + dx, dy) e = get_entity_type() if e == None: plant_cactus() elif e != Entities.Cactus: if can_harvest(): harvest() plant_cactus() cactus_cycle() def farm_worker(x0, width): n = get_world_size() while True: goto(x0, 0) for col in range(width): for j in range(n): handle() move(North) move(East) clear() spawn_drone(cactus_worker) n = get_world_size() farmers = max_drones() - 1 x = 0 remaining_cols = n remaining_workers = farmers for i in range(farmers - 1): w = remaining_cols // remaining_workers spawn_drone(farm_worker, x, w) x = x + w remaining_cols = remaining_cols - w remaining_workers = remaining_workers - 1 farm_worker(x, remaining_cols)Changes from the previous revision
spawn_drone(cactus_worker) n = get_world_size() - w = n // 3 - spawn_drone(farm_worker, 0, w) - spawn_drone(farm_worker, w, w) - farm_worker(2 * w, n - 2 * w) + farmers = max_drones() - 1 + x = 0 + remaining_cols = n + remaining_workers = farmers + for i in range(farmers - 1): + w = remaining_cols // remaining_workers + spawn_drone(farm_worker, x, w) + x = x + w + remaining_cols = remaining_cols - w + remaining_workers = remaining_workers - 1 + farm_worker(x, remaining_cols)
- Write result the agent saw
Saved main (193 lines). Game time: 3h 37m 43s elapsed, 2h 22m 17s of budget remaining.
- run_program at 3h 37m for 900s (agent saw)
Ran main for 15m of game time; it is still running. Inventory change: cactus +14904, carrot +151861, fertilizer +72, hay +263676, power +2581.87, pumpkin +51032, water -1029, weird_substance +1944, wood +295568. Game time: 3h 52m 53s elapsed, 2h 7m 7s of budget remaining. Output: (none)
r174h 10mRan
def get_p(): n = get_world_size() if n >= 20: return 10 if n >= 16: return 8 return 6 def get_c(): n = get_world_size() if n >= 16: return 6 return 5 def water_if(): if num_items(Items.Water) > 5 and get_water() < 0.8: use_item(Items.Water) def goto(tx, ty): while get_pos_x() != tx: move(East) while get_pos_y() != ty: move(North) def plant_carrot(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Carrot) water_if() def plant_sunflower(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Sunflower) water_if() def plant_cactus(): if get_ground_type() != Grounds.Soil: till() plant(Entities.Cactus) water_if() if num_items(Items.Weird_Substance) < 5000 and num_items(Items.Fertilizer) > 0: use_item(Items.Fertilizer) def plant_on_grassland(ent): if get_ground_type() == Grounds.Soil: till() plant(ent) water_if() def to_grassland(): if get_ground_type() == Grounds.Soil: till() def handle(): x = get_pos_x() y = get_pos_y() n = get_world_size() p = get_p() c = get_c() cx = n - c e = get_entity_type() if x < p and y < p: if e == Entities.Dead_Pumpkin: plant(Entities.Pumpkin) water_if() elif e == None: if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif e == Entities.Pumpkin: if x == 0 and y == 0 and can_harvest(): harvest() plant(Entities.Pumpkin) water_if() else: if can_harvest(): harvest() if get_ground_type() != Grounds.Soil: till() plant(Entities.Pumpkin) water_if() elif x >= cx and y < c: return else: if can_harvest(): harvest() e = None if e == None: m = (x + y) % 10 if m <= 3: plant_carrot() elif m == 4: to_grassland() elif m == 5: plant_on_grassland(Entities.Tree) elif m <= 7: plant_sunflower() elif m == 8: plant_on_grassland(Entities.Bush) else: to_grassland() def sort_tile(x, y, cx, cy, c): goto(x, y) if get_entity_type() != Entities.Cactus: return False sw = False cur = measure() if cur == None: return False if x < cx + c - 1: es = measure(East) if es != None and cur > es: swap(East) sw = True cur = measure() if y < cy + c - 1: ns = measure(North) if ns != None and cur != None and cur > ns: swap(North) sw = True return sw def cactus_cycle(): n = get_world_size() c = get_c() cx = n - c cy = 0 swapped = True while swapped: swapped = False for dx in range(c): if dx % 2 == 0: for dy in range(c): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True else: for dy in range(c - 1, -1, -1): if sort_tile(cx + dx, cy + dy, cx, cy, c): swapped = True all_grown = True for dx in range(c): for dy in range(c): goto(cx + dx, cy + dy) if get_entity_type() != Entities.Cactus: all_grown = False elif not can_harvest(): all_grown = False if all_grown: goto(cx, cy) harvest() def cactus_worker(): n = get_world_size() c = get_c() cx = n - c while True: for dx in range(c): for dy in range(c): goto(cx + dx, dy) e = get_entity_type() if e == None: plant_cactus() elif e != Entities.Cactus: if can_harvest(): harvest() plant_cactus() cactus_cycle() def farm_worker(x0, width): n = get_world_size() while True: goto(x0, 0) for col in range(width): for j in range(n): handle() move(North) move(East) clear() spawn_drone(cactus_worker) n = get_world_size() farmers = max_drones() - 1 x = 0 remaining_cols = n remaining_workers = farmers for i in range(farmers - 1): w = remaining_cols // remaining_workers spawn_drone(farm_worker, x, w) x = x + w remaining_cols = remaining_cols - w remaining_workers = remaining_workers - 1 farm_worker(x, remaining_cols)Changes from the previous revision
def get_p(): n = get_world_size() + if n >= 20: + return 10 if n >= 16: return 8
- Write result the agent saw
Saved main (195 lines). Game time: 4h 11m 3s elapsed, 1h 48m 57s of budget remaining.
- run_program at 4h 11m for 900s (agent saw)
Ran main for 15m of game time; it is still running. Inventory change: cactus +28512, carrot +774696, fertilizer +180, hay +1239600, power +7179.62, pumpkin +337456, water -32, wood +1490528. Game time: 4h 26m 13s elapsed, 1h 33m 47s of budget remaining. Output: (none)
- run_program at 4h 36m for 1500s (agent saw)
Ran main for 25m of game time; it is still running. Inventory change: cactus +93312, carrot +9403655, fertilizer +600, hay +15182304, power +15287.88, pumpkin +1111168, water -964, wood +22645888. Game time: 5h 1m 26s elapsed, 58m 34s of budget remaining. Output: (none)
- run_program at 5h 51m for 420s (agent saw)
Ran main for 7m of game time; it is still running. Inventory change: cactus +46656, carrot +4659969, fertilizer +132, hay +8350272, power +4020.71, pumpkin +578304, water -4285, weird_substance +5184, wood +11129152. Game time: 5h 58m 32s elapsed, 1m 28s of budget remaining. Output: (none)
setup.py
r110m 15sRanFinal
clear() plant(Entities.Bush) move(North) plant(Entities.Bush) move(North) plant(Entities.Bush) move(North) move(East) move(North) move(North) move(North) move(East) till() plant(Entities.Carrot) move(North) till() plant(Entities.Carrot) move(North) till() plant(Entities.Carrot) move(North) move(East)- Write result the agent saw
Saved setup (22 lines). Game time: 10m 25s elapsed, 5h 49m 35s of budget remaining.
- run_program at 10m 35s for 60s (agent saw)
Ran setup for 5s of game time; it finished. Inventory change: hay -3, wood -3. Game time: 10m 50s elapsed, 5h 49m 10s of budget remaining. Output: (none)
maze.py
r11h 54mRan
def right_of(d): if d == North: return East elif d == East: return South elif d == South: return West else: return North def left_of(d): if d == North: return West elif d == West: return South elif d == South: return East else: return North def back_of(d): if d == North: return South elif d == South: return North elif d == East: return West else: return East clear() plant(Entities.Bush) substance = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) use_item(Items.Weird_Substance, substance) heading = North while get_entity_type() != Entities.Treasure: r = right_of(heading) l = left_of(heading) b = back_of(heading) if can_move(r): move(r) heading = r elif can_move(heading): move(heading) elif can_move(l): move(l) heading = l else: move(b) heading = b harvest()- Write result the agent saw
Saved maze (51 lines). Game time: 1h 54m 12s elapsed, 4h 5m 48s of budget remaining.
- run_program at 1h 54m for 300s (agent saw)
Ran maze for 13s of game time; it finished. Inventory change: fertilizer +1, gold +144, power -8.65, water +1, weird_substance -12. Game time: 1h 54m 35s elapsed, 4h 5m 25s of budget remaining. Output: (none)
r21h 54mRan
def right_of(d): if d == North: return East elif d == East: return South elif d == South: return West else: return North def left_of(d): if d == North: return West elif d == West: return South elif d == South: return East else: return North def back_of(d): if d == North: return South elif d == South: return North elif d == East: return West else: return East while num_items(Items.Weird_Substance) >= get_world_size(): clear() plant(Entities.Bush) substance = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) use_item(Items.Weird_Substance, substance) heading = North while get_entity_type() != Entities.Treasure: r = right_of(heading) l = left_of(heading) b = back_of(heading) if can_move(r): move(r) heading = r elif can_move(heading): move(heading) elif can_move(l): move(l) heading = l else: move(b) heading = b harvest()Changes from the previous revision
return East - clear() - plant(Entities.Bush) - substance = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) - use_item(Items.Weird_Substance, substance) - heading = North - while get_entity_type() != Entities.Treasure: - r = right_of(heading) - l = left_of(heading) - b = back_of(heading) - if can_move(r): - move(r) - heading = r - elif can_move(heading): - move(heading) - elif can_move(l): - move(l) - heading = l - else: - move(b) - heading = b - harvest() + while num_items(Items.Weird_Substance) >= get_world_size(): + clear() + plant(Entities.Bush) + substance = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) + use_item(Items.Weird_Substance, substance) + heading = North + while get_entity_type() != Entities.Treasure: + r = right_of(heading) + l = left_of(heading) + b = back_of(heading) + if can_move(r): + move(r) + heading = r + elif can_move(heading): + move(heading) + elif can_move(l): + move(l) + heading = l + else: + move(b) + heading = b + harvest()
- Write result the agent saw
Saved maze (52 lines). Game time: 1h 54m 45s elapsed, 4h 5m 15s of budget remaining.
- run_program at 1h 54m for 600s (agent saw)
Ran maze for 3m 9s of game time; it finished. Inventory change: fertilizer +19, gold +2736, power -127.22, water +19, weird_substance -228. Game time: 1h 58m 3s elapsed, 4h 1m 57s of budget remaining. Output: (none)
r32h 09mRan
def right_of(d): if d == North: return East elif d == East: return South elif d == South: return West else: return North def left_of(d): if d == North: return West elif d == West: return South elif d == South: return East else: return North def back_of(d): if d == North: return South elif d == South: return North elif d == East: return West else: return East while num_items(Items.Weird_Substance) >= get_world_size() and num_items(Items.Gold) < 9000: clear() plant(Entities.Bush) substance = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) use_item(Items.Weird_Substance, substance) heading = North while get_entity_type() != Entities.Treasure: r = right_of(heading) l = left_of(heading) b = back_of(heading) if can_move(r): move(r) heading = r elif can_move(heading): move(heading) elif can_move(l): move(l) heading = l else: move(b) heading = b harvest()Changes from the previous revision
return East - while num_items(Items.Weird_Substance) >= get_world_size(): + while num_items(Items.Weird_Substance) >= get_world_size() and num_items(Items.Gold) < 9000: clear() plant(Entities.Bush)
- Write result the agent saw
Saved maze (52 lines). Game time: 2h 9m 45s elapsed, 3h 50m 15s of budget remaining.
- run_program at 2h 09m for 1200s (agent saw)
Ran maze for 7m 1s of game time; it finished. Inventory change: fertilizer +42, gold +8208, power -284.12, water +42, weird_substance -684. Game time: 2h 16m 56s elapsed, 3h 43m 4s of budget remaining. Output: (none)
r43h 27mRan
def right_of(d): if d == North: return East elif d == East: return South elif d == South: return West else: return North def left_of(d): if d == North: return West elif d == West: return South elif d == South: return East else: return North def back_of(d): if d == North: return South elif d == South: return North elif d == East: return West else: return East substance_needed = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) while num_items(Items.Weird_Substance) >= substance_needed and num_items(Items.Gold) < 33500: clear() plant(Entities.Bush) use_item(Items.Weird_Substance, substance_needed) heading = North while get_entity_type() != Entities.Treasure: r = right_of(heading) l = left_of(heading) b = back_of(heading) if can_move(r): move(r) heading = r elif can_move(heading): move(heading) elif can_move(l): move(l) heading = l else: move(b) heading = b harvest()Changes from the previous revision
return East - while num_items(Items.Weird_Substance) >= get_world_size() and num_items(Items.Gold) < 9000: + substance_needed = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) + while num_items(Items.Weird_Substance) >= substance_needed and num_items(Items.Gold) < 33500: clear() plant(Entities.Bush) - substance = get_world_size() * 2 ** (num_unlocked(Unlocks.Mazes) - 1) - use_item(Items.Weird_Substance, substance) + use_item(Items.Weird_Substance, substance_needed) heading = North while get_entity_type() != Entities.Treasure:
- Write result the agent saw
Saved maze (52 lines). Game time: 3h 27m 20s elapsed, 2h 32m 40s of budget remaining.
- run_program at 3h 27m for 1800s (agent saw)
Ran maze for 9m 43s of game time; it finished. Inventory change: fertilizer +116, gold +32768, power -590.10, water +932, weird_substance -2048. Game time: 3h 37m 13s elapsed, 2h 22m 47s of budget remaining. Output: (none)
- run_program at 5h 41m for 900s (agent saw)
Ran maze for 9m 18s of game time; it finished. Inventory change: fertilizer +223, gold +31944, power -564.72, water +3571, weird_substance -1452. Game time: 5h 51m 22s elapsed, 8m 38s of budget remaining. Output: (none)
test.py
r11h 58mRan
print(max_drones()) print(num_drones())- Write result the agent saw
Saved test (2 lines). Game time: 1h 58m 33s elapsed, 4h 1m 27s of budget remaining.
- run_program at 1h 58m for 30s (agent saw)
Ran test for 2s of game time; it finished. Inventory change: power -0.00. Game time: 1h 58m 45s elapsed, 4h 1m 15s of budget remaining. Output: 2 1
r22h 31mRanFinal
change_hat(Hats.Straw_Hat)Changes from the previous revision
- print(max_drones()) - print(num_drones()) + change_hat(Hats.Straw_Hat)
- Write result the agent saw
Saved test (1 lines). Game time: 2h 31m 34s elapsed, 3h 28m 26s of budget remaining.
- run_program at 2h 31m for 30s (agent saw)
Ran test for 0s of game time; it finished. Inventory change: bone +40898. Game time: 2h 31m 44s elapsed, 3h 28m 16s of budget remaining. Output: (none)
dino.py
r12h 29mRan
def do_cycle(): n = get_world_size() for i in range(n - 1): if not move(North): return False for x in range(1, n): if not move(East): return False if x % 2 == 1: for i in range(n - 2): if not move(South): return False else: for i in range(n - 2): if not move(North): return False if not move(South): return False for i in range(n - 1): if not move(West): return False return True clear() change_hat(Hats.Dinosaur_Hat) running = True while running: running = do_cycle() change_hat(Hats.Green_Hat)- Write result the agent saw
Saved dino (29 lines). Game time: 2h 29m 16s elapsed, 3h 30m 44s of budget remaining.
- run_program at 2h 29m for 900s (agent saw)
Ran dino for 1m 38s of game time; it stopped with an error: Hats.Green_Hat must be unlocked before this can be used. Inventory change: cactus -572, fertilizer +19, power -98.62, water +19. Game time: 2h 31m 4s elapsed, 3h 28m 56s of budget remaining. Output: Error: Hats.Green_Hat must be unlocked before this can be used. In: change_hat(Hats.Green_Hat) ^^ --------------------------------------------------------------------- Runtime error at 2h 31m (telemetry; not shown to the agent)
Hats.Green_Hat must be unlocked before this can be used.
r23h 37mRan
def do_cycle(): n = get_world_size() for i in range(n - 1): if not move(North): return False for x in range(1, n): if not move(East): return False if x % 2 == 1: for i in range(n - 2): if not move(South): return False else: for i in range(n - 2): if not move(North): return False if not move(South): return False for i in range(n - 1): if not move(West): return False return True clear() change_hat(Hats.Dinosaur_Hat) running = True while running: running = do_cycle() change_hat(Hats.Straw_Hat)Changes from the previous revision
while running: running = do_cycle() - change_hat(Hats.Green_Hat) + change_hat(Hats.Straw_Hat)
- Write result the agent saw
Saved dino (29 lines). Game time: 3h 37m 33s elapsed, 2h 22m 27s of budget remaining.
- run_program at 4h 26m for 900s (agent saw)
Ran dino for 9m 3s of game time; it finished. Inventory change: bone +933156, cactus -3864, fertilizer +109, power -549.73, water +869. Game time: 4h 35m 46s elapsed, 1h 24m 14s of budget remaining. Output: (none)
- run_program at 5h 31m for 900s (agent saw)
Ran dino for 9m 49s of game time; it finished. Inventory change: bone +933156, cactus -3864, fertilizer +235, power -595.89, water +3767. Game time: 5h 41m 54s elapsed, 18m 6s of budget remaining. Output: (none)
log
Step by step
- 0ssaidStarting your farm from scratch — first surveying the field and docs to plan the biggest, most diverse economy I can build in 6 hours.
- 0s
observeresult
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)
- 5h 59m
waitseconds=5result
Waited 0s (time up). Program: main running; error: Hats.Green_Hat must be unlocked before this can be used.. 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.
- 6h 00msaidRun over — the 6h game-time budget is fully used up, with the 22×22 multi-drone farm running to the end. Final production highlights: - Hay: ~63M - Wood: ~92M - Carrot: ~37M - Pumpkin: ~3.9M - Bone: ~1.6M - Cactus: ~479k - Power: ~54k - Gold: 33,800 - Plus Weird Substance, Fertilizer, and Water The farm achieved full diversity across 11 resources, powered by 8 parallel drones, a 10×10 giant-pumpkin block, a sorted 6×6 cactus block, 80× Polyculture companions, maze-solving for gold, and two complete dinosaur-snake runs for bones.
- 10s
docs_listresult
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…
- 20s
researchresult
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…
- 30s
docs_readpath="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]…
- 40s
docs_readpath="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.  You c…
- 50s
docs_readpath="unlocks/loops"result
## Loops Unlocks a simple while loop. while True: harvest() ### Unlock Cost [Current cost: hay=5] Game time: 1m elapsed, 5h 59m of budget remaining. - 1m 00s
docs_readpath="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: 1m 10s elapsed, 5h 58m 50s of budget remaining.
- 1m 10s
docs_readpath="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: 1m 20s elapsed, 5h 58m 40s of budget remaining.
- 1m 20s
write_programname="main" · evidenceresult
Saved main (10 lines). Game time: 1m 30s elapsed, 5h 58m 30s of budget remaining.
- 1m 30s
run_programname="main" seconds=30result
Ran main for 5s of game time; it finished. Inventory change: hay +10. Game time: 1m 45s elapsed, 5h 58m 15s of budget remaining. Output: (none)
- 1m 45ssaidGot the first hay — now unlocking loops so the drone can harvest continuously on its own.
- 1m 45s
buy_upgradeupgrades=["loops"] · evidenceresult
Bought loops, now level 1. Paid hay 5. Its tutorial is docs page docs/scripting/while.md. Game time: 1m 55s elapsed, 5h 58m 5s of budget remaining.
- 1m 55s
write_programname="main" · evidenceresult
Saved main (2 lines). Game time: 2m 5s elapsed, 5h 57m 55s of budget remaining.
- 2m 05s
run_programname="main" seconds=120result
Ran main for 2m of game time; it is still running. Inventory change: hay +240. Game time: 4m 15s elapsed, 5h 55m 45s of budget remaining. Output: (none)
- 4m 15s
buy_upgradeupgrades=["speed","expand","plant"] · evidenceresult
Bought speed, now level 1. Paid hay 20. Its tutorial is docs page docs/unlocks/speed.md. 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: 4m 25s elapsed, 5h 55m 35s of budget remaining.
- 4m 25s
docs_readpath="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…
- 4m 35s
docs_readpath="unlocks/plant"result
## Plant Unlocks planting. plant(Entities.Bush) [Tutorial](docs/unlocks/plant.md) Game time: 4m 45s elapsed, 5h 55m 15s of budget remaining.
- 4m 45s
docs_readpath="unlocks/speed"result
## Speed Increases the speed of both the drone and code execution. 150% => 225% ### Unlock Cost [Current cost: wood=20] [Tutorial](docs/unlocks/speed.md) Game time: 4m 55s elapsed, 5h 55m 5s of budget remaining.
- 4m 55s
docs_readpath="docs/unlocks/plant.md"result
# Plant Grass is nice because it grows automatically. All other plants have to be planted with the `plant()` function. The only plant you can plant right now is a bush. You can pass the type of plant you want to plant to the function like this: `plant(Entities.Bush)` This will plant a bush under the drone. Call `clear()` to reset the farm to all grass and reset the drone position. It seems tha…
- 5m 05s
observeresult
Game time: 5m 15s elapsed, 5h 54m 45s of budget remaining. Program: main (running). Inventory: hay 165. 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)
- 5m 15ssaidFarm expanded to 3 tiles and planting unlocked — now switching some tiles to bushes for wood.
- 5m 15s
docs_searchquery="can_harvest"result
docs/home.md: …ripting/while.md) [Plant](docs/unlocks/plant.md) [Speed](docs/unlocks/speed.md) ## Built-in Functions [can_harvest](functions/can_harvest) [clear](functions/clear) [do_a_flip](functions/do_a_flip) [harvest](functions/harvest) [move](functions/move) [pet_the_piggy](functions/pet… unlocks/operators: …## Operators Arithmetic, comparison and logic operators. if not can_harvest() and (1 …
- 5m 25s
docs_readpath="docs/unlocks/speed.md"result
# Speed Upgrade The execution speed has been doubled. The problem is that the drone now harvests faster than the grass can grow resulting in no harvest at all. To deal with this [if](docs/scripting/if.md) branches and the [can_harvest](functions/can_harvest) function are now unlocked. ## Checking Before Harvesting So far we only had `True` and `False` as conditions, which is of course not very us…
- 5m 35s
docs_listresult
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 docs/unlocks/expand_1.md Expand 1 unlocks/fertilizer Fertilizer unlocks/functions Functions unlocks/grass Grass unlocks/hats Hats unl…
- 5m 45s
docs_readpath="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: 5m 55s elapsed, 5h 54m 5s of budget remaining.
- 5m 55s
docs_readpath="functions/plant"result
plant(entity) Spends the cost of the specified entity and plants it under the drone. It fails if you can't afford the plant, the ground type is wrong or there's already a plant there. returns True if it succeeded, False otherwise. takes 200 ticks to execute if it succeeded, 1 tick otherwise. example: plant(Entities.Bush) Game time: 6m 5s elapsed, 5h 53m 55s of budget remaining.
- 6m 05s
stop_programresult
Program stopped. Game time: 6m 15s elapsed, 5h 53m 45s of budget remaining.
- 6m 15s
write_programname="main" · evidenceresult
Saved main (5 lines). Game time: 6m 25s elapsed, 5h 53m 35s of budget remaining.
- 6m 25s
run_programname="main" seconds=120result
Ran main for 2m of game time; it is still running. Inventory change: hay +7, wood +72. Game time: 8m 35s elapsed, 5h 51m 25s of budget remaining. Output: (none)
- 8m 35ssaidBushes are producing wood fast. Unlocking operators and carrots next to open up programming features.
- 8m 35s
buy_upgradeupgrades=["operators","carrots"] · evidenceresult
Bought operators, now level 1. Paid hay 150, wood 10. Its tutorial is docs page docs/scripting/operators.md. Bought carrots, now level 1. Paid wood 50. Its tutorial is docs page docs/unlocks/carrots.md. Game time: 8m 45s elapsed, 5h 51m 15s of budget remaining.
- 8m 45s
docs_readpath="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…
- 8m 55s
docs_readpath="docs/scripting/operators.md"result
# Operators arithmetic operators: `+, -, *, /, //, %, **` comparison operators: `==, !=, <=, >=, <, >` boolean operators: `not, and, or` Note: All numbers in the game are floating point numbers. So all arithmetic operators are floating point operators. `//` is defined to just floor the number after the division. For assignment operators you need to unlock the "Variables" unlock. ## Introduction…
- 9m 05s
docs_readpath="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: 9m 15s elapsed, 5h 50m 45s of budget remaining.
- 9m 15s
observeresult
Game time: 9m 25s elapsed, 5h 50m 35s of budget remaining. Program: main (running). Inventory: hay 22, wood 43. 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: Bu=bush, Gr=grass. y= 2 _Bu1 y= 1 _Bu2 y= 0 _Gr1* Recent output: (none)
- 9m 25s
researchresult
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…
- 9m 35s
buy_upgradeupgrades=["expand","speed"] · evidenceresult
Bought expand, now level 2. Paid wood 20. Its tutorial is docs page docs/unlocks/expand_1.md. Bought speed, now level 2. Paid wood 20. Its tutorial is docs page docs/unlocks/speed.md. Game time: 9m 45s elapsed, 5h 50m 15s of budget remaining.
- 9m 45s
observeresult
Game time: 9m 55s elapsed, 5h 50m 5s of budget remaining. Program: main (running). Inventory: hay 24, wood 24. 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, Gr=grass. y= 2 _Bu2* _Gr3 _Gr3 y= 1 _Bu1 _Gr3 _Gr3 y= 0 _Bu1 _Gr3 _Gr3 Recent output: (non…
- 9m 55ssaidExpanded to 3×3 — now building a mixed layout with grass, bushes, and carrots.
- 9m 55s
docs_readpath="functions/clear"result
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: 10m 5s elapsed, 5h 49m 55s of budget remaining.
- 10m 05s
stop_programresult
Program stopped. Game time: 10m 15s elapsed, 5h 49m 45s of budget remaining.
- 10m 15s
write_programname="setup" · evidenceresult
Saved setup (22 lines). Game time: 10m 25s elapsed, 5h 49m 35s of budget remaining.
- 10m 25s
write_programname="main" · evidenceresult
Saved main (37 lines). Game time: 10m 35s elapsed, 5h 49m 25s of budget remaining.
- 10m 35s
run_programname="setup" seconds=60result
Ran setup for 5s of game time; it finished. Inventory change: hay -3, wood -3. Game time: 10m 50s elapsed, 5h 49m 10s of budget remaining. Output: (none)
- 10m 50s
run_programname="main" seconds=300result
Ran main for 5m of game time; it is still running. Inventory change: carrot +222, hay +280, wood +213. Game time: 16m elapsed, 5h 44m of budget remaining. Output: (none)
- 16m 00ssaidMixed farm is working — carrots, hay, and wood all flowing. Buying senses and variables for smarter programs.
- 16m 00s
researchresult
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% =…
- 16m 10s
buy_upgradeupgrades=["variables","functions","senses","trees","watering","expand"] · evidenceresult
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 senses, now level 1. Paid hay 100. Its tutorial is docs page docs/unlocks/senses.md. Bought trees, now level 1. Paid wood 50, carrot 70. Its tutorial is docs page docs/unlocks/trees.md. Bou…
- 16m 20s
docs_readpath="docs/unlocks/senses.md"result
# Senses The drone can see now! The functions `get_pos_x()` and `get_pos_y()` return the current x and y position of the drone. At the start position they are both `0`. The x position increases by `1` every tile towards `East` and the y position increases by `1` every tile towards `North`. `num_items(item)` returns how many of an item you have. For example `num_items(Items.Hay)` returns how muc…
- 16m 30s
docs_readpath="unlocks/trees"result
## Trees Increases the yield of bushes and trees. 100% => 200% ### Unlock Cost [Current cost: hay=300] [Tutorial](docs/unlocks/trees.md) Game time: 16m 40s elapsed, 5h 43m 20s of budget remaining.
- 16m 40s
docs_readpath="unlocks/watering"result
## Watering Receive more water. 0.1/s => 0.2/s ### Unlock Cost [Current cost: wood=200] [Tutorial](docs/unlocks/watering.md) Game time: 16m 50s elapsed, 5h 43m 10s of budget remaining.
- 16m 50s
docs_readpath="docs/unlocks/trees.md"result
# Trees [Trees](objects/tree) are a better way to get wood than bushes. They give 5 wood each. Like bushes, they can be planted on grass or soil. Trees like to have some space and planting them right next to each other will slow down their growth. The growing time is doubled for each tree that is on a tile directly to the north, east, west or south of it. So if you plant trees on every tile, they…
- 17m 00s
docs_readpath="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…
- 17m 10s
docs_listresult
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 unlocks/debug_2 Debug_2 unlocks/dictionaries Dictionaries unlocks/dinosaurs Dinosaurs unlocks/expand Expand docs/unlocks/expand_1.md Expand 1 unlocks/fertilizer Fertilizer unlocks/functions Functions docs/scrip…
- 17m 20s
docs_readpath="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: 17m 30s elapsed, 5h 42m 30s of budget remaining.
- 17m 30s
docs_readpath="docs/scripting/for.md"result
# For Loop The `for` loop works like in Python. (Called a foreach loop in some languages, not to be confused with the C-style for loop, which is a different thing). `for i in sequence: #do something with i` Similar to the `while` loop, the `for` loop also repeatedly calls a block of code. Instead of looping based on a condition, it executes the loop body once for each element in a sequence. ##…
- 17m 40ssaidNow writing a generic program that works at any farm size, with trees on a checkerboard, grass, carrots, and bushes by column.
- 17m 40s
docs_searchquery="Entities.Tree"result
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) ### Unlock Cost [Current cost: carrot=500]… Game time: 17m 50s elapsed, 5h 42m 10s of budget remaining.
- 17m 50s
stop_programresult
Program stopped. Game time: 18m elapsed, 5h 42m of budget remaining.
- 18m 00s
write_programname="main" · evidenceresult
Saved main (39 lines). Game time: 18m 10s elapsed, 5h 41m 50s of budget remaining.
- 18m 10s
run_programname="main" seconds=300result
Ran main for 5m of game time; it is still running. Inventory change: carrot +212, hay +237, water -12, wood +569. Game time: 23m 20s elapsed, 5h 36m 40s of budget remaining. Output: Warning: Tried to use Items.Water but didn't have enough of it. In: handle use_item(Items.Water) ^^ -------------------------------------------------------------------- Warning: Tried to use Items.Wa… - 23m 20s
researchresult
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% =…
- 23m 30ssaidUnlocking pumpkins, expanding to 6×6, plus speed and debug tools.
- 23m 30s
buy_upgradeupgrades=["pumpkins","expand","speed","debug","import"] · evidenceresult
Bought pumpkins, now level 1. Paid wood 500, carrot 200. Its tutorial is docs page docs/unlocks/pumpkins.md. Bought expand, now level 4. Paid wood 100, carrot 50. Its tutorial is docs page docs/unlocks/expand_1.md. Could not buy speed: Not enough resources. Bought debug, now level 1. Paid hay 50, wood 50. Its tutorial is docs page docs/scripting/debug.md. Could not buy import: Not enough resources…
- 23m 40s
docs_readpath="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…
- 23m 50s
docs_readpath="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: 24m elapsed, 5h 36m of budget remaining.
- 24m 00s
docs_listresult
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 unlocks/…
- 24m 10s
docs_readpath="docs/unlocks/expand_2.md"result
# Expand 2 Your farm has expanded again! Now the tiles are no longer in a nice row, so you need to find a way to traverse a square grid. With the `while` loop this is not possible until you unlock senses and operators. It is time to introduce the `for` loop. You can read all about the `for` loop on the [For Loop](docs/scripting/for.md) page, but for now you will only need it to repeat code a fix…
- 24m 20s
observeresult
Game time: 24m 30s elapsed, 5h 35m 30s of budget remaining. Program: main (running). Inventory: hay 647, wood 319, carrot 68. Farm 6x6. 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, Ca=carrot, Bu=bush, Tr=tree. y= 5 _Gr3 _Gr3 #Ca1 _Bu3 _Gr3 _Gr3 y= 4 _Tr3 …
- 24m 30s
researchresult
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…
- 24m 40ssaidPumpkins need a dedicated merging block. Rewriting with a 4×4 pumpkin block (6×6 later) and fixing the water check.
- 24m 40s
stop_programresult
Program stopped. Game time: 24m 50s elapsed, 5h 35m 10s of budget remaining.
- 24m 50s
write_programname="main" · evidenceresult
Saved main (66 lines). Game time: 25m elapsed, 5h 35m of budget remaining.
- 25m 00s
run_programname="main" seconds=600result
Ran main for 10m of game time; it is still running. Inventory change: carrot -76, hay +467, pumpkin +478, water -2, wood +1183. Game time: 35m 10s elapsed, 5h 24m 50s of budget remaining. Output: Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ -------------------------------------------------------------------- Warning: … - 35m 10s
observeresult
Game time: 35m 20s elapsed, 5h 24m 40s of budget remaining. Program: main (running). Inventory: hay 1149, wood 1573, carrot 2, pumpkin 478. Farm 6x6. 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, Ca=carrot, Bu=bush, Tr=tree, Pu=pumpkin. y= 5 _Gr3 _Gr3 #Ca3 _Bu…
- 35m 20s
inspect_tilex=1 y=0result
(1,0) `x = 1, y = 0` ### `Grounds.Soil` Water level: 0.05 Game time: 35m 30s elapsed, 5h 24m 30s of budget remaining.
- 35m 30s
inspect_tilex=0 y=0result
(0,0) `x = 0, y = 0` ### `Entities.Pumpkin` Total grow time: 0.98 seconds Grown 20.89% When harvested, gives: ### `Grounds.Soil` Water level: 0.65 Game time: 35m 40s elapsed, 5h 24m 20s of budget remaining.
- 35m 40ssaidCarrots are the bottleneck for pumpkins. Checking carrot yields, then rebalancing the non-pumpkin area toward carrots.
- 35m 40s
inspect_tilex=2 y=5result
(2,5) `x = 2, y = 5` ### `Entities.Carrot` Total grow time: 5.59 seconds Grown 55.41% When harvested, gives: ### `Grounds.Soil` Water level: 0 Yield: carrot 1 Game time: 35m 50s elapsed, 5h 24m 10s of budget remaining.
- 35m 50s
docs_readpath="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: 36m elapsed, 5h 24m of budget remaining.
- 36m 00s
stop_programresult
Program stopped. Game time: 36m 10s elapsed, 5h 23m 50s of budget remaining.
- 36m 10s
write_programname="main" · evidenceresult
Saved main (75 lines). Game time: 36m 20s elapsed, 5h 23m 40s of budget remaining.
- 36m 20s
buy_upgradeupgrades=["carrots","grass","trees"] · evidenceresult
Bought carrots, now level 2. Paid wood 250. Its tutorial is docs page docs/unlocks/carrots.md. Bought grass, now level 2. Paid hay 300. Bought trees, now level 2. Paid hay 300. Its tutorial is docs page docs/unlocks/trees.md. Game time: 36m 30s elapsed, 5h 23m 30s of budget remaining.
- 36m 30s
run_programname="main" seconds=600result
Ran main for 10m of game time; it is still running. Inventory change: carrot +573, hay +80, pumpkin +632, water -3, wood +504. Game time: 46m 40s elapsed, 5h 13m 20s of budget remaining. Output: Warning: Didn't have the required items to plant Entities.Pumpkin. In: handle plant(Entities.Pumpkin) ^^ -------------------------------------------------------------------- Warning: D… - 46m 40ssaidCarrot surplus restored and pumpkins flowing. Expanding to 8×8 and buying speed/import.
- 46m 40s
buy_upgradeupgrades=["expand","speed","import"] · evidenceresult
Bought expand, now level 5. Paid pumpkin 1000. Its tutorial is docs page docs/unlocks/expand_1.md. Bought speed, now level 3. Paid wood 50, carrot 50. Its tutorial is docs page docs/unlocks/speed.md. Bought import, now level 1. Paid carrot 80. Its tutorial is docs page docs/scripting/import.md. Game time: 46m 50s elapsed, 5h 13m 10s of budget remaining.
- 46m 50s
waitseconds=600result
Waited 10m (time up). Program: main running. Inventory change: carrot +667, hay -46, pumpkin +1473, wood +706. Game time: 57m elapsed, 5h 3m of budget remaining.
- 57m 00s
researchresult
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…
- 57m 10s
docs_readpath="unlocks/sunflowers"result
## Sunflowers Sunflowers and Power. plant(Entities.Sunflowers) ### Unlock Cost [Current cost: carrot=500] Game time: 57m 20s elapsed, 5h 2m 40s of budget remaining.
- 57m 20s
docs_readpath="unlocks/fertilizer"result
## Fertilizer Grow plants instantly. use_item(Items.Fertilizer) ### Unlock Cost [Current cost: wood=500] Game time: 57m 30s elapsed, 5h 2m 30s of budget remaining.
- 57m 30s
buy_upgradeupgrades=["lists","sunflowers","fertilizer"] · evidenceresult
Bought lists, now level 1. Paid carrot 500. Its tutorial is docs page docs/scripting/lists.md. Bought sunflowers, now level 1. Paid carrot 500. Its tutorial is docs page docs/unlocks/sunflowers.md. Bought fertilizer, now level 1. Paid wood 500. Its tutorial is docs page docs/unlocks/fertilizer.md. Game time: 57m 40s elapsed, 5h 2m 20s of budget remaining.
- 57m 40s
docs_readpath="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…
- 57m 50s
docs_readpath="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…
- 58m 00ssaidSunflowers give power (double speed) but need max-petal harvesting. Checking their stats before adding them.
- 58m 00s
docs_readpath="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: 58m 10s elapsed, 5h 1m 50s…
- 58m 10s
docs_readpath="unlocks/mazes"result
## Mazes A maze with a treasure in the middle. if get_entity_type() == Entities.Treasure: harvest() ### Unlock Cost [Current cost: weird_substance=1000] Game time: 58m 20s elapsed, 5h 1m 40s of budget remaining. - 58m 20s
docs_searchquery="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…
- 58m 30s
stop_programresult
Program stopped. Game time: 58m 40s elapsed, 5h 1m 20s of budget remaining.
- 58m 40s
write_programname="main" · evidenceresult
Saved main (78 lines). Game time: 58m 50s elapsed, 5h 1m 10s of budget remaining.
- 58m 50s
run_programname="main" seconds=120result
Ran main for 2m of game time; it is still running. Inventory change: carrot +29, fertilizer +12, hay -16, power +21.73, pumpkin +649, water -2, wood +64. Game time: 1h 1m elapsed, 4h 59m of budget remaining. Output: (none)
- 1h 01msaidPower is flowing and doubling speed. Reading up on polyculture and cactus — the next big unlocks.
- 1h 01m
docs_readpath="unlocks/polyculture"result
## Polyculture Use companion planting to increase the yield. plant_type, (x, y) = get_companion() ### Unlock Cost [Current cost: pumpkin=3000] Game time: 1h 1m 10s elapsed, 4h 58m 50s of budget remaining.
- 1h 01m
docs_readpath="unlocks/cactus"result
## Cactus Cactus! plant(Entities.Cactus) ### Unlock Cost [Current cost: pumpkin=5000] Game time: 1h 1m 20s elapsed, 4h 58m 40s of budget remaining.
- 1h 01m
waitseconds=600 until_resources={"pumpkin":5000}result
Waited 7m 2s (pumpkin reached 5026). Program: main running. Inventory change: carrot +218, fertilizer +43, hay -582, power +124.26, pumpkin +2551, wood +802. Game time: 1h 8m 32s elapsed, 4h 51m 28s of budget remaining.
- 1h 08m
observeresult
Game time: 1h 8m 42s elapsed, 4h 51m 18s of budget remaining. Program: main (running). Inventory: hay 1, wood 3239, carrot 455, pumpkin 5026, fertilizer 67, power 156.01. 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, Ca=carrot, Pu=pumpkin, De=dead_pu…
- 1h 08msaidHay is exhausted — upgraded carrots cost too much hay for my few grass tiles. Checking costs and rebalancing toward grass.
- 1h 08m
docs_readpath="objects/carrot"result
## Carrot Carrots! Base growth time between 4.8 and 7.2 seconds. Can grow on soil. ### Plant Cost [Current cost: hay=2, wood=2] For more related information see: [Carrots](docs/unlocks/carrots.md) Game time: 1h 8m 52s elapsed, 4h 51m 8s of budget remaining.
- 1h 08m
buy_upgradeupgrades=["grass","cactus"] · evidenceresult
Bought grass, now level 3. Paid wood 500. Bought cactus, now level 1. Paid pumpkin 5000. Its tutorial is docs page docs/unlocks/cactus.md. Game time: 1h 9m 2s elapsed, 4h 50m 58s of budget remaining.
- 1h 09m
docs_readpath="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 `…
- 1h 09msaidCactus unlocked. Now rewriting the outside zone: more grass for hay, keeping carrots, sunflowers, and trees.
- 1h 09m
stop_programresult
Program stopped. Game time: 1h 9m 22s elapsed, 4h 50m 38s of budget remaining.
- 1h 09m
write_programname="main" · evidenceresult
Saved main (84 lines). Game time: 1h 9m 32s elapsed, 4h 50m 28s of budget remaining.
- 1h 09m
run_programname="main" seconds=600result
Ran main for 10m of game time; it is still running. Inventory change: carrot +825, fertilizer +60, hay +1076, power -53.93, pumpkin +3617, water -2, wood +960. Game time: 1h 19m 42s elapsed, 4h 40m 18s of budget remaining. Output: (none)
- 1h 19msaidBalanced again, but power is draining. Converting top grass tiles to sunflowers (grass yield upgrade compensates).
- 1h 19m
stop_programresult
Program stopped. Game time: 1h 19m 52s elapsed, 4h 40m 8s of budget remaining.
- 1h 19m
docs_readpath="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 20m 2s elapsed, 4h 39m 58s of budget remaining.
- 1h 20m
write_programname="main" · evidenceresult
Saved main (82 lines). Game time: 1h 20m 12s elapsed, 4h 39m 48s of budget remaining.
- 1h 20m
run_programname="main" seconds=900result
Ran main for 15m of game time; it is still running. Inventory change: carrot +625, fertilizer +90, hay -628, power +231.07, pumpkin +5186, water -3, wood +1002. Game time: 1h 35m 22s elapsed, 4h 24m 38s of budget remaining. Output: (none)
- 1h 35msaidEnough pumpkins for the big expansion to 12×12.
- 1h 35m
buy_upgradeupgrades=["expand"] · evidenceresult
Bought expand, now level 6. Paid pumpkin 8000. Its tutorial is docs page docs/unlocks/expand_1.md. Game time: 1h 35m 32s elapsed, 4h 24m 28s of budget remaining.
- 1h 35m
docs_readpath="functions/range"result
range(start = 0, end, step = 1) Generates a sequence of numbers starting at start, ending right before reaching end (so end is excluded) using steps of size step. Note that start is set to 0 by default, and if only one argument is given, it will bind to end. This isn't normally possible. In Python, range is a class constructor that allows this strange behavior. takes 1 tick to execute. example:…
- 1h 35m
docs_readpath="functions/measure"result
measure(direction = None) Can measure some values on some entities. The effect of this depends on the entity. If direction is not None it measures the neighboring entity in the given direction. returns the number of petals of a sunflower. returns the next position for a treasure or apple. returns the size of a cactus. returns a mysterious number for a pumpkin. returns None for all other entitie…
- 1h 35m
docs_readpath="docs/scripting/functions.md"result
# Functions Use the `def` keyword to define a new function: `def f(arg1, arg2 = False): #function code` You can use the call operator `()` to call the function: `f(42)` Also see [Scopes](docs/scripting/scopes.md) to learn about local and global variables in functions. ## Introduction You've already seen built-in functions like `harvest()`. You can also define your own functions which allows st…
- 1h 36msaidNow writing the comprehensive 12×12 program: 6×6 pumpkins, a sorted 5×5 cactus block (yield \(n^2\)), and patterned mixed crops elsewhere.
- 1h 36m
stop_programresult
Program stopped. Game time: 1h 36m 12s elapsed, 4h 23m 48s of budget remaining.
- 1h 36m
write_programname="main" · evidenceresult
Saved main (156 lines). Game time: 1h 36m 22s elapsed, 4h 23m 38s of budget remaining.
- 1h 36m
run_programname="main" seconds=300result
Ran main for 5m of game time; it is still running. Inventory change: cactus +1875, carrot +114, fertilizer +30, hay +760, power -31.94, pumpkin +43, wood +256. Game time: 1h 41m 32s elapsed, 4h 18m 28s of budget remaining. Output: (none)
- 1h 41m
observeresult
Game time: 1h 41m 42s elapsed, 4h 18m 18s of budget remaining. Program: main (running). Inventory: hay 1753, wood 4997, carrot 1983, pumpkin 1105, cactus 1875, water 3, fertilizer 265, power 296.46. 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 drone. Entities: Ca=carrot, Gr=gra…
- 1h 41msaidCactus sorting works — 625 per sorted harvest. Checking next upgrade costs.
- 1h 41m
researchresult
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 2/10; cost wood 1250; can buy now; tutorial docs/unlocks/carrot…
- 1h 41m
buy_upgradeupgrades=["speed","utilities"] · evidenceresult
Bought speed, now level 4. Paid carrot 500. Its tutorial is docs page docs/unlocks/speed.md. Bought utilities, now level 1. Paid pumpkin 1000. Game time: 1h 42m 2s elapsed, 4h 17m 58s of budget remaining.
- 1h 42m
waitseconds=300 until_resources={"cactus":2100}result
Waited 0s (cactus reached 2500). Program: main running. Inventory change: no change. Game time: 1h 42m 12s elapsed, 4h 17m 48s of budget remaining.
- 1h 42m
buy_upgradeupgrades=["dinosaurs"] · evidenceresult
Bought dinosaurs, now level 1. Paid cactus 2000. Its tutorial is docs page docs/unlocks/dinosaurs.md. Game time: 1h 42m 22s elapsed, 4h 17m 38s of budget remaining.
- 1h 42m
docs_readpath="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 …
- 1h 42msaidDinosaurs = a snake mini-game for bones. Checking apple costs.
- 1h 42m
docs_readpath="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: 1h 42m 42s elapsed, 4h 17m 18s of budget remaining.
- 1h 42m
docs_readpath="objects/dinosaur"result
## Dinosaur A piece of the tail of the dinosaur hat. Base growth time between 0.18 and 0.22 seconds. Can grow on soil or grassland. For more related information see: [Dinosaurs](docs/unlocks/dinosaurs.md) Game time: 1h 42m 52s elapsed, 4h 17m 8s of budget remaining.
- 1h 42m
docs_readpath="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…
- 1h 43msaidMazes (for gold → multiple drones) need 1000 weird substance. Fertilizing cacti should convert half their huge sorted yield to weird substance.
- 1h 43m
stop_programresult
Program stopped. Game time: 1h 43m 12s elapsed, 4h 16m 48s of budget remaining.
- 1h 43m
write_programname="main" · evidenceresult
Saved main (158 lines). Game time: 1h 43m 22s elapsed, 4h 16m 38s of budget remaining.
- 1h 43m
run_programname="main" seconds=600result
Ran main for 10m of game time; it is still running. Inventory change: cactus +3752, carrot +471, fertilizer -40, hay +1258, power -28.87, pumpkin +71, water +1, weird_substance +1248, wood +602. Game time: 1h 53m 32s elapsed, 4h 6m 28s of budget remaining. Output: Warning: Didn't have the required items to plant Entities.Cactus. In: farm_pass <- handle <- plant_cactus plant(Entities.Cactus) ^… - 1h 53msaidWeird substance target hit. Buying mazes to start earning gold.
- 1h 53m
buy_upgradeupgrades=["mazes"] · evidenceresult
Bought mazes, now level 1. Paid weird_substance 1000. Its tutorial is docs page docs/unlocks/mazes.md. Game time: 1h 53m 42s elapsed, 4h 6m 18s of budget remaining.
- 1h 53m
docs_listresult
docs/home.md General Info unlocks/auto_unlock Auto Unlock unlocks/cactus Cactus docs/unlocks/cactus.md 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 docs/unlocks/dinosaurs.md Dinosaurs unlocks/expand Expand docs/u…
- 1h 53msaidTesting a wall-follower maze solver for gold.
- 1h 53m
stop_programresult
Program stopped. Game time: 1h 54m 2s elapsed, 4h 5m 58s of budget remaining.
- 1h 54m
write_programname="maze" · evidenceresult
Saved maze (51 lines). Game time: 1h 54m 12s elapsed, 4h 5m 48s of budget remaining.
- 1h 54m
run_programname="maze" seconds=300result
Ran maze for 13s of game time; it finished. Inventory change: fertilizer +1, gold +144, power -8.65, water +1, weird_substance -12. Game time: 1h 54m 35s elapsed, 4h 5m 25s of budget remaining. Output: (none)
- 1h 54msaidMaze solved in 13s for 144 gold! Looping mazes until weird substance runs low.
- 1h 54m
write_programname="maze" · evidenceresult
Saved maze (52 lines). Game time: 1h 54m 45s elapsed, 4h 5m 15s of budget remaining.
- 1h 54m
run_programname="maze" seconds=600result
Ran maze for 3m 9s of game time; it finished. Inventory change: fertilizer +19, gold +2736, power -127.22, water +19, weird_substance -228. Game time: 1h 58m 3s elapsed, 4h 1m 57s of budget remaining. Output: (none)
- 1h 58msaidGold enough — unlocking Megafarm for multiple drones.
- 1h 58m
buy_upgradeupgrades=["megafarm"] · evidenceresult
Bought megafarm, now level 1. Paid gold 2000. Its tutorial is docs page docs/unlocks/megafarm.md. Game time: 1h 58m 13s elapsed, 4h 1m 47s of budget remaining.
- 1h 58m
docs_readpath="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… - 1h 58m
write_programname="test" · evidenceresult
Saved test (2 lines). Game time: 1h 58m 33s elapsed, 4h 1m 27s of budget remaining.
- 1h 58m
run_programname="test" seconds=30result
Ran test for 2s of game time; it finished. Inventory change: power -0.00. Game time: 1h 58m 45s elapsed, 4h 1m 15s of budget remaining. Output: 2 1
- 1h 58msaidOnly 2 drones at this level — more cost gold. Checking upgrade costs while planning the two-drone layout.
- 1h 58m
researchresult
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 2/10; cost wood 1250; can buy now; tutorial docs/unlocks/carrot…
- 1h 58msaidDesigning two drones: one cactus specialist (plant/sort/harvest on loop), the main drone farming everything else in parallel.
- 1h 58m
write_programname="main" · evidenceresult
Saved main (169 lines). Game time: 1h 59m 5s elapsed, 4h 55s of budget remaining.
- 1h 59m
run_programname="main" seconds=600result
Ran main for 10m of game time; it is still running. Inventory change: cactus +5941, carrot +1962, fertilizer -115, hay +2188, power +247.19, pumpkin +927, water -32, weird_substance +2184, wood +2544. Game time: 2h 9m 15s elapsed, 3h 50m 45s of budget remaining. Output: (none)
- 2h 09m
observeresult
Game time: 2h 9m 25s elapsed, 3h 50m 35s of budget remaining. Program: main (running). Inventory: hay 5385, wood 8443, carrot 4059, pumpkin 1212, cactus 12068, weird_substance 2192, gold 880, fertilizer 131, power 398.57. 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 drone. Enti…
- 2h 09msaidStockpiles are strong. Running mazes again until 9000 gold for 4 drones — capping the loop so it doesn't burn all weird substance.
- 2h 09m
stop_programresult
Program stopped. Game time: 2h 9m 35s elapsed, 3h 50m 25s of budget remaining.
- 2h 09m
write_programname="maze" · evidenceresult
Saved maze (52 lines). Game time: 2h 9m 45s elapsed, 3h 50m 15s of budget remaining.
- 2h 09m
run_programname="maze" seconds=1200result
Ran maze for 7m 1s of game time; it finished. Inventory change: fertilizer +42, gold +8208, power -284.12, water +42, weird_substance -684. Game time: 2h 16m 56s elapsed, 3h 43m 4s of budget remaining. Output: (none)
- 2h 16m
buy_upgradeupgrades=["megafarm"] · evidenceresult
Bought megafarm, now level 2. Paid gold 8000. Its tutorial is docs page docs/unlocks/megafarm.md. Game time: 2h 17m 6s elapsed, 3h 42m 54s of budget remaining.
- 2h 17msaidNow 4 drones. Splitting the farm into 3 column slices for 3 farm workers plus the cactus specialist.
- 2h 17m
write_programname="main" · evidenceresult
Saved main (174 lines). Game time: 2h 17m 16s elapsed, 3h 42m 44s of budget remaining.
- 2h 17m
run_programname="main" seconds=600result
Ran main for 10m of game time; it is still running. Inventory change: cactus +8126, carrot +3843, fertilizer +10, hay +8368, power +624.79, pumpkin +5413, water -47, weird_substance +624, wood +5774. Game time: 2h 27m 26s elapsed, 3h 32m 34s of budget remaining. Output: Warning: Tried to use Items.Water but didn't have enough of it. In: farm_worker <- handle <- plant_carrot <- water_if use_item(It…
- 2h 27msaidFour drones are a huge multiplier. Buying polyculture, dictionaries, timing, and max speed.
- 2h 27m
buy_upgradeupgrades=["polyculture","dictionaries","timing","speed"] · evidenceresult
Bought polyculture, now level 1. Paid pumpkin 3000. Its tutorial is docs page docs/unlocks/polyculture.md. Bought dictionaries, now level 1. Paid pumpkin 2500. Its tutorial is docs page docs/scripting/dicts.md. Bought timing, now level 1. Paid pumpkin 1000. Its tutorial is docs page docs/unlocks/timing.md. Bought speed, now level 5. Paid carrot 1000. Its tutorial is docs page docs/unlocks/speed.md…
- 2h 27m
docs_readpath="docs/unlocks/polyculture.md"result
# Polyculture You may have already noticed that sometimes plants yield more when planted together. Grass, bushes, trees, and carrots yield more when they have the right plant companion. Companion preference is different for each individual plant and cannot be predicted. Fortunately, the companion preference of the plant under the drone can be measured using `get_companion()`. It returns a tuple wh…
- 2h 27m
researchresult
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 2/10; cost wood 1250; can buy now; tutorial docs/unlocks/carrot…
- 2h 27msaidBuying a round of yield doublers: carrots, pumpkins, trees, grass, watering, fertilizer.
- 2h 27m
buy_upgradeupgrades=["carrots","pumpkins","trees","grass","watering","fertilizer"] · evidenceresult
Bought carrots, now level 3. Paid wood 1250. Its tutorial is docs page docs/unlocks/carrots.md. Bought pumpkins, now level 2. Paid carrot 1000. Its tutorial is docs page docs/unlocks/pumpkins.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 2. Paid wood 200. Its tutorial is docs page…
- 2h 28msaidBefore the long accumulation run, doing the dinosaur snake phase for bones — it can yield \(144^2\) bones on this farm. Checking hat names first.
- 2h 28m
docs_readpath="unlocks/hats"result
## Hats Hats for your drone. change_hat(Hats.Green_Hat) [Tutorial](docs/unlocks/hats.md) Game time: 2h 28m 16s elapsed, 3h 31m 44s of budget remaining.
- 2h 28m
docs_searchquery="Straw_Hat"result
No matches for "Straw_Hat". Game time: 2h 28m 26s elapsed, 3h 31m 34s of budget remaining.
- 2h 28m
docs_readpath="docs/unlocks/hats.md"result
# Hats You have unlocked a few new hat colors for your drone. Equip them like this: `change_hat(Hats.Gray_Hat) do_a_flip() change_hat(Hats.Purple_Hat) do_a_flip() change_hat(Hats.Green_Hat) do_a_flip() change_hat(Hats.Brown_Hat) do_a_flip()` Game time: 2h 28m 36s elapsed, 3h 31m 24s of budget remaining.
- 2h 28m
docs_searchquery="Dinosaur_Hat"result
docs/unlocks/dinosaurs.md: …sing 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 the dinosaur hat and have enough cactus, an [apple](objects/apple) will automatically be purchased and pl… functions/change_hat: …ange_hat(hat) Changes the hat …
- 2h 28m
buy_upgradeupgrades=["dinosaurs"] · evidenceresult
Bought dinosaurs, now level 2. Paid cactus 12000. Its tutorial is docs page docs/unlocks/dinosaurs.md. Game time: 2h 28m 56s elapsed, 3h 31m 4s of budget remaining.
- 2h 28msaidWriting the dinosaur program: clear farm, equip hat, loop the Hamiltonian cycle until the tail fills the farm, then swap hats to harvest bones.
- 2h 28m
stop_programresult
Program stopped. Game time: 2h 29m 6s elapsed, 3h 30m 54s of budget remaining.
- 2h 29m
write_programname="dino" · evidenceresult
Saved dino (29 lines). Game time: 2h 29m 16s elapsed, 3h 30m 44s of budget remaining.
- 2h 29m
run_programname="dino" seconds=900result
Ran dino for 1m 38s of game time; it stopped with an error: Hats.Green_Hat must be unlocked before this can be used. Inventory change: cactus -572, fertilizer +19, power -98.62, water +19. Game time: 2h 31m 4s elapsed, 3h 28m 56s of budget remaining. Output: Error: Hats.Green_Hat must be unlocked before this can be used. In: change_hat(Hats.Green_Hat) ^^ ------------------… - 2h 31m
observeresult
Game time: 2h 31m 14s elapsed, 3h 28m 46s of budget remaining. Program: none running. Inventory: hay 19691, wood 12069, carrot 8087, pumpkin 2215, cactus 10122, weird_substance 2132, gold 1088, water 25, fertilizer 230, power 646.74. 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…
- 2h 31msaidSnake filled the farm but the hat-swap errored, so bones aren't harvested yet. Finding the correct default hat name.
- 2h 31m
docs_searchquery="Hat"result
docs/home.md: …Fertilizer](docs/unlocks/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) [Mazes](docs/unlocks/mazes.md) [Megafarm](docs… docs/unlocks/cactus.md: … or equal in size. The harvest will only spread if all adjacent cacti are full…
- 2h 31m
write_programname="test" · evidenceresult
Saved test (1 lines). Game time: 2h 31m 34s elapsed, 3h 28m 26s of budget remaining.
- 2h 31m
run_programname="test" seconds=30result
Ran test for 0s of game time; it finished. Inventory change: bone +40898. Game time: 2h 31m 44s elapsed, 3h 28m 16s of budget remaining. Output: (none)
- 2h 31msaid40898 bones harvested! Resuming the main farm, then buying the polyculture multiplier with bones.
- 2h 31m
run_programname="main" seconds=60result
Ran main for 1m of game time; it is still running. Inventory change: cactus +625, carrot +1231, fertilizer +12, hay +5688, power +34.92, pumpkin +1690, water -33, wood +3548. Game time: 2h 32m 54s elapsed, 3h 27m 6s of budget remaining. Output: (none)
- 2h 32m
buy_upgradeupgrades=["polyculture","costs"] · evidenceresult
Bought polyculture, now level 2. Paid bone 10000. Its tutorial is docs page docs/unlocks/polyculture.md. Bought costs, now level 1. Paid pumpkin 2500. Its tutorial is docs page docs/unlocks/costs.md. Game time: 2h 33m 4s elapsed, 3h 26m 56s of budget remaining.
- 2h 33msaidRunning the farm until pumpkins reach 64000 for the 16×16 expansion.
- 2h 33m
waitseconds=1500 until_resources={"pumpkin":64000}result
Waited 25m (time up). Program: main running. Inventory change: cactus +33750, carrot +70762, fertilizer +300, hay +223548, power +638.01, pumpkin +39412, wood +129308. Game time: 2h 58m 14s elapsed, 3h 1m 46s of budget remaining.
- 2h 58m
observeresult
Game time: 2h 58m 24s elapsed, 3h 1m 36s of budget remaining. Program: main (running). Inventory: hay 253759, wood 146677, carrot 81394, pumpkin 41261, cactus 45122, bone 30898, weird_substance 2132, gold 1088, fertilizer 556, power 1323.18. 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); *…
- 2h 58msaidPumpkins at 41k — waiting for 64k to expand, other resources are soaring thanks to polyculture companions.
- 2h 58m
waitseconds=1200 until_resources={"pumpkin":64000}result
Waited 12m 36s (pumpkin reached 64053). Program: main running. Inventory change: cactus +18125, carrot +34768, fertilizer +152, hay +119116, power +335.58, pumpkin +22406, water +1, wood +68592. Game time: 3h 11m 10s elapsed, 2h 48m 50s of budget remaining.
- 3h 11m
buy_upgradeupgrades=["expand","mazes"] · evidenceresult
Bought expand, now level 7. Paid pumpkin 64000. Its tutorial is docs page docs/unlocks/expand_1.md. Bought mazes, now level 2. Paid cactus 12000. Its tutorial is docs page docs/unlocks/mazes.md. Game time: 3h 11m 20s elapsed, 2h 48m 40s of budget remaining.
- 3h 11msaidExpanded to 16×16. Updating the program: 8×8 pumpkin block, 6×6 cactus block, repartitioned drone slices, higher weird cap for future mazes.
- 3h 11m
stop_programresult
Program stopped. Game time: 3h 11m 30s elapsed, 2h 48m 30s of budget remaining.
- 3h 11m
write_programname="main" · evidenceresult
Saved main (186 lines). Game time: 3h 11m 40s elapsed, 2h 48m 20s of budget remaining.
- 3h 11m
buy_upgradeupgrades=["watering","watering","watering"] · evidenceresult
Bought watering, now level 3. Paid wood 800. Its tutorial is docs page docs/unlocks/watering.md. Bought watering, now level 4. Paid wood 3200. Its tutorial is docs page docs/unlocks/watering.md. Bought watering, now level 5. Paid wood 12800. Its tutorial is docs page docs/unlocks/watering.md. Game time: 3h 11m 50s elapsed, 2h 48m 10s of budget remaining.
- 3h 11m
run_programname="main" seconds=900result
Ran main for 15m of game time; it is still running. Inventory change: cactus +14904, carrot +86422, hay +114260, power +2629.34, pumpkin +23162, water -9, weird_substance +3240, wood +182680. Game time: 3h 27m elapsed, 2h 33m of budget remaining. Output: (none)
- 3h 27msaidNow farming gold at maze level 2 (512 per 16×16 maze) toward 32000 for 8 drones.
- 3h 27m
stop_programresult
Program stopped. Game time: 3h 27m 10s elapsed, 2h 32m 50s of budget remaining.
- 3h 27m
write_programname="maze" · evidenceresult
Saved maze (52 lines). Game time: 3h 27m 20s elapsed, 2h 32m 40s of budget remaining.
- 3h 27m
run_programname="maze" seconds=1800result
Ran maze for 9m 43s of game time; it finished. Inventory change: fertilizer +116, gold +32768, power -590.10, water +932, weird_substance -2048. Game time: 3h 37m 13s elapsed, 2h 22m 47s of budget remaining. Output: (none)
- 3h 37msaidGold target hit fast. Buying 8 drones.
- 3h 37m
buy_upgradeupgrades=["megafarm"] · evidenceresult
Bought megafarm, now level 3. Paid gold 32000. Its tutorial is docs page docs/unlocks/megafarm.md. Game time: 3h 37m 23s elapsed, 2h 22m 37s of budget remaining.
- 3h 37msaidUpdating spawn logic generically for 7 farm workers + cactus worker, and fixing the dino hat name.
- 3h 37m
write_programname="dino" · evidenceresult
Saved dino (29 lines). Game time: 3h 37m 33s elapsed, 2h 22m 27s of budget remaining.
- 3h 37m
write_programname="main" · evidenceresult
Saved main (193 lines). Game time: 3h 37m 43s elapsed, 2h 22m 17s of budget remaining.
- 3h 37m
run_programname="main" seconds=900result
Ran main for 15m of game time; it is still running. Inventory change: cactus +14904, carrot +151861, fertilizer +72, hay +263676, power +2581.87, pumpkin +51032, water -1029, weird_substance +1944, wood +295568. Game time: 3h 52m 53s elapsed, 2h 7m 7s of budget remaining. Output: (none)
- 3h 52msaid8 drones doubled pumpkin rate. Checking costs for the next expansion and drone tier.
- 3h 52m
researchresult
auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; can buy now ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm) cactus (Cactus) level 1/6; cost pumpkin 20000; can buy now; 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/carrots.md ## Carrots…
- 3h 53msaidExpansion (512k pumpkins) isn't worth it in the time left — instead buying multiple yield-doubling levels for pumpkins, carrots, trees, and grass, paid from abundant stocks.
- 3h 53m
buy_upgradeupgrades=["pumpkins","pumpkins","pumpkins","carrots","carrots","trees","trees","grass","grass"] · evidenceresult
Bought pumpkins, now level 3. Paid carrot 4000. Its tutorial is docs page docs/unlocks/pumpkins.md. Bought pumpkins, now level 4. Paid carrot 16000. Its tutorial is docs page docs/unlocks/pumpkins.md. Bought pumpkins, now level 5. Paid carrot 64000. Its tutorial is docs page docs/unlocks/pumpkins.md. Bought carrots, now level 4. Paid wood 6250. Its tutorial is docs page docs/unlocks/carrots.md. Bo…
- 3h 53m
buy_upgradeupgrades=["cactus"] · evidenceresult
Bought cactus, now level 2. Paid pumpkin 20000. Its tutorial is docs page docs/unlocks/cactus.md. Game time: 3h 53m 23s elapsed, 2h 6m 37s of budget remaining.
- 3h 53m
waitseconds=900result
Waited 15m (time up). Program: main running. Inventory change: cactus +41472, carrot +532414, fertilizer +180, hay +1054240, power +2303.05, pumpkin +393496, wood +1122592. Game time: 4h 8m 33s elapsed, 1h 51m 27s of budget remaining.
- 4h 08msaidPumpkin rate exploded to 26k/min — expansion is now worth it. Waiting for 512k.
- 4h 08m
waitseconds=600 until_resources={"pumpkin":515000}result
Waited 1m 50s (pumpkin reached 519227). Program: main running. Inventory change: cactus +5184, carrot +60296, fertilizer +22, hay +133696, power +73, pumpkin +63456, wood +146048. Game time: 4h 10m 33s elapsed, 1h 49m 27s of budget remaining.
- 4h 10m
buy_upgradeupgrades=["expand"] · evidenceresult
Bought expand, now level 8. Paid pumpkin 512000. Its tutorial is docs page docs/unlocks/expand_1.md. Game time: 4h 10m 43s elapsed, 1h 49m 17s of budget remaining.
- 4h 10msaid22×22 now. Enlarging the pumpkin block to 10×10 for the bigger farm and restarting.
- 4h 10m
stop_programresult
Program stopped. Game time: 4h 10m 53s elapsed, 1h 49m 7s of budget remaining.
- 4h 10m
write_programname="main" · evidenceresult
Saved main (195 lines). Game time: 4h 11m 3s elapsed, 1h 48m 57s of budget remaining.
- 4h 11m
run_programname="main" seconds=900result
Ran main for 15m of game time; it is still running. Inventory change: cactus +28512, carrot +774696, fertilizer +180, hay +1239600, power +7179.62, pumpkin +337456, water -32, wood +1490528. Game time: 4h 26m 13s elapsed, 1h 33m 47s of budget remaining. Output: (none)
- 4h 26msaidDoing another dinosaur run on 22×22 soon — first buying the dinosaur yield upgrade so bones are multiplied 4×.
- 4h 26m
buy_upgradeupgrades=["dinosaurs"] · evidenceresult
Bought dinosaurs, now level 3. Paid cactus 72000. Its tutorial is docs page docs/unlocks/dinosaurs.md. Game time: 4h 26m 23s elapsed, 1h 33m 37s of budget remaining.
- 4h 26m
stop_programresult
Program stopped. Game time: 4h 26m 33s elapsed, 1h 33m 27s of budget remaining.
- 4h 26m
run_programname="dino" seconds=900result
Ran dino for 9m 3s of game time; it finished. Inventory change: bone +933156, cactus -3864, fertilizer +109, power -549.73, water +869. Game time: 4h 35m 46s elapsed, 1h 24m 14s of budget remaining. Output: (none)
- 4h 35msaid933k bones! Buying polyculture upgrades with bones for even higher companion multipliers.
- 4h 35m
researchresult
auto_unlock (Auto Unlock) level 0/1; cost pumpkin 5000; can buy now ## Auto Unlock Automatically unlock things. unlock(Unlocks.Megafarm) cactus (Cactus) level 2/6; cost pumpkin 120000; can buy now; tutorial docs/unlocks/cactus.md ## Cactus Increases the yield and cost of cactus. 200% => 400% carrots (Carrots) level 5/10; cost wood 156000; can buy now; tutorial docs/unlocks/carrots.md ## Carr…
- 4h 35m
buy_upgradeupgrades=["polyculture","polyculture"] · evidenceresult
Bought polyculture, now level 3. Paid bone 50000. Its tutorial is docs page docs/unlocks/polyculture.md. Bought polyculture, now level 4. Paid bone 250000. Its tutorial is docs page docs/unlocks/polyculture.md. Game time: 4h 36m 6s elapsed, 1h 23m 54s of budget remaining.
- 4h 36msaidBuying another round of doublers across pumpkins, carrots, trees, grass, cactus, watering, fertilizer.
- 4h 36m
buy_upgradeupgrades=["pumpkins","carrots","trees","grass","cactus","fertilizer","watering"] · evidenceresult
Bought pumpkins, now level 6. Paid carrot 256000. Its tutorial is docs page docs/unlocks/pumpkins.md. Bought carrots, now level 6. Paid wood 156000. Its tutorial is docs page docs/unlocks/carrots.md. Bought trees, now level 6. Paid hay 76800. Its tutorial is docs page docs/unlocks/trees.md. Bought grass, now level 7. Paid wood 312000. Bought cactus, now level 3. Paid pumpkin 120000. Its tutorial i…
- 4h 36msaidRestarting the farm for a 25-minute accumulation phase before the gold/megafarm push.
- 4h 36m
run_programname="main" seconds=1500result
Ran main for 25m of game time; it is still running. Inventory change: cactus +93312, carrot +9403655, fertilizer +600, hay +15182304, power +15287.88, pumpkin +1111168, water -964, wood +22645888. Game time: 5h 1m 26s elapsed, 58m 34s of budget remaining. Output: (none)
- 5h 01msaidRates are enormous now. Buying the next tier of yield upgrades, then I'll farm, do a final dinosaur run, and finish with mazes for gold.
- 5h 01m
buy_upgradeupgrades=["pumpkins","carrots","trees","grass","cactus","watering"] · evidenceresult
Bought pumpkins, now level 7. Paid carrot 1020000. Its tutorial is docs page docs/unlocks/pumpkins.md. Bought carrots, now level 7. Paid wood 781000. Its tutorial is docs page docs/unlocks/carrots.md. Bought trees, now level 7. Paid hay 307000. Its tutorial is docs page docs/unlocks/trees.md. Bought grass, now level 8. Paid wood 1560000. Bought cactus, now level 4. Paid pumpkin 720000. Its tutoria…
- 5h 01m
waitseconds=1800result
Waited 30m (time up). Program: main running. Inventory change: cactus +238464, carrot +21680795, fertilizer +720, hay +35136704, power +19747.09, pumpkin +2577008, wood +55066304. Game time: 5h 31m 46s elapsed, 28m 14s of budget remaining.
- 5h 31msaidFinal dinosaur run for another ~900k bones.
- 5h 31m
stop_programresult
Program stopped. Game time: 5h 31m 56s elapsed, 28m 4s of budget remaining.
- 5h 31m
run_programname="dino" seconds=900result
Ran dino for 9m 49s of game time; it finished. Inventory change: bone +933156, cactus -3864, fertilizer +235, power -595.89, water +3767. Game time: 5h 41m 54s elapsed, 18m 6s of budget remaining. Output: (none)
- 5h 41msaidBones done. Final maze phase for gold, then back to farming for the remaining minutes.
- 5h 41m
run_programname="maze" seconds=900result
Ran maze for 9m 18s of game time; it finished. Inventory change: fertilizer +223, gold +31944, power -564.72, water +3571, weird_substance -1452. Game time: 5h 51m 22s elapsed, 8m 38s of budget remaining. Output: (none)
- 5h 51m
run_programname="main" seconds=420result
Ran main for 7m of game time; it is still running. Inventory change: cactus +46656, carrot +4659969, fertilizer +132, hay +8350272, power +4020.71, pumpkin +578304, water -4285, weird_substance +5184, wood +11129152. Game time: 5h 58m 32s elapsed, 1m 28s of budget remaining. Output: (none)
- 5h 58m
observeresult
Game time: 5h 58m 42s elapsed, 1m 18s of budget remaining. Program: main (running). Inventory: hay 62295807, wood 90335495, carrot 36564414, pumpkin 3819083, cactus 468567, bone 1597210, weird_substance 9000, gold 33800, water 3104, fertilizer 3384, power 53889.75. Farm 22x22. x runs west to east, rows are listed north (top) to south. Cells: ground (# soil, _ grassland) + entity code + size (1 sma…
- 5h 58msaidLetting the farm run out the final seconds of the budget.
- 5h 58m
waitseconds=60result
Waited 1m (time up). Program: main running. Inventory change: cactus +10368, carrot +768472, fertilizer +24, hay +1052096, power +550.02, pumpkin +57408, water -480, wood +1666368. Game time: 5h 59m 52s elapsed, 8s of budget remaining.
- 5h 59msaidBudget exhausted — the farm is still running at full speed. Final results: ## Final inventory (≈6h mark) | Resource | Amount | |---|---:| | Hay | ~63,300,000 | | Wood | ~92,000,000 | | Carrot | ~37,300,000 | | Pumpkin | ~3,876,000 | | Cactus | ~479,000 | | Bone | 1,597,210 | | Power | ~54,400 | | Gold | 33,800 | | Weird Substance | 9,000 | | Fertilizer | ~3,400 | | Water | ~2,600 | 11 different resources produced, most in the millions. ## How it was built - Progression: grass → bushes → carrots → trees → pumpkins → sunflowers → cactus → dinosaurs → mazes → megafarm, expanding 1×1 → 3×3 → 6×6 → 8×8 → 12×12 → 16×16 → 22×22 - Farm layout (484 tiles): a 10×10 giant-pumpkin block (harvested only at the corner so pumpkins merge for the \(n^2 \cdot 6\) yield), a 6×6 cactus block, and the rest in a repeating diagonal pattern of carrots/grass/trees/sunflowers/bushes — which turned out to satisfy Polyculture companions (upgraded to 80× multiplier) very often - 8 drones: 7 farm workers each farming a column slice in parallel, plus a dedicated cactus drone that bubble-sorts cacti by `measure()`/`swap()` so a single harvest chains the whole block for \(36^2\) cactus per cycle - Weird substance from fertilizing cacti (half the sorted-cactus yield converts), spent on wall-follower maze solving (512–968 gold per maze) to buy up to 8 drones - Two dinosaur runs: a Hamiltonian cycle over the whole farm filling the snake tail completely — \(483^2 \times 4 \approx 933{,}156\) bones each time, funding the Polyculture upgrades - Yield upgrades stacked repeatedly: Pumpkins/Carrots/Trees/Grass/Cactus to levels 4–8, max Speed, high Watering — late-game rates exceeded 1M hay, 1.8M wood, and 85k pumpkin per minute
- 5h 59msaidUsing the last seconds with the farm still running at full capacity.
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.
spent
What it spent
API-equivalent estimate at list prices; not an actual charge
Tokens
| Input (uncached) | 222,063 |
| Cache reads | 12,904,500 |
| Cache writes | 0 |
| Output | 73,737 |
| Thinking (subset of output where reported) | not reported |
| Total | 13,200,300 |
|---|
| Model | Tokens | Estimate |
|---|---|---|
| muse-wonder-1.0 | 13,200,300 | $4.94 |
Estimate: API-equivalent estimate at list prices; not an actual charge. Price table prices-2026-10-20b.
conditions
Limitations
- Recorded from a harness checkout with uncommitted changes.
- No agent session log: the token curve has one point per prompt turn.
| Run id | economy-v1-cursor-muse-wonder-1.0-s3-a1-20261020T143053Z |
|---|---|
| Task | economy-v1 · acb5fb455a43 |
| Budget | 6h 00m game time · 10s per action · caps: 2,000 tool calls, 20 continuations, 4h 00m real time |
| Agent | undefined 2026.10.16-e3cb207 (cursor-agent) |
| Applied config | {"model":"muse-wonder-1.0[context=300k,reasoning_effort=medium]"} |
| Models reported | muse-wonder-1.0 |
| Tools available | not recorded |
| Harness | 8773efd6a948 (uncommitted changes) |
| Bridge / game | 2cb6f7438845 / 953fea25964f |
| Adapters | claude-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 8.11 · log10(1 + Σ w_r × produced_r), weights from late-game sink prices · 228b39065cbd |
| Started / ended | 2026-10-20T14:30:53.158Z → 2026-10-20T14:45:56.299Z |
| Evidence | 62 items in evidence.json |