Tendril

Wordle for programmers. Every score is proven.

The farming game where your code competes with everyone else's. Everyone gets the same farm each day. Write a program, watch it run, and see where it lands.

Today's farm #…

– players Score to beat –

Play today's farm

Free on Windows, macOS and Linux. No account needed to play.

Tick
0
Coins
0
Plots
1
Bots
1

This is the game's real rules engine and language running in your browser. The farm started with one plot, one bot and an empty purse; the counters above are live. A 50-line program is doing everything else.

You don't farm. You write the farmer.

There is no clicking on tiles. You write one program in Sprout, a small language that reads like plain English, and every bot you own runs it. Bots walk, check the soil, plant what it can take, and haul the harvest back to the barn.

This is the program every new farm starts with. It already makes money. Making it make more is the game.

Learn Sprout in ten minutes

# Start with carrots. Questions are free; actions cost ticks.
# Carrots tire the soil, so clover (bought once) takes turns to heal it.
define pick_crop(s):
    if unlocked(clover) and (s.nitrogen < 25 or s.fatigue > 40):
        return clover
    return carrot

repeat forever:
    for each tile in tiles():
        go_to tile
        if scan().ripe:
            harvest
        if scan().empty:
            s = scan()
            if s.moisture < 25:
                water
            till
            plant pick_crop(s)
        if carried() >= capacity():
            go_to barn
            deposit
            sell carrot, all
            sell clover, all
    go_to barn
    deposit
    sell carrot, all
    sell clover, all
    if not unlocked(clover) and coins() >= unlock_cost(clover):
        unlock clover
    wait 100

Grow without a ceiling

Land comes in 8 by 8 plots and there is always another one next door. Each plot and each bot costs more than the last, so past a point the only way to grow faster is a smarter program.

Six crops, one soil

Every crop drinks water, eats nitrogen and tires the ground. Clover puts nitrogen back. Berries and apples regrow after harvest. Carrots and pumpkins die if frost arrives before they ripen, and the forecast is one call away.

Crop Ripe after Yield Price Soil nitrogen Soil fatigue Frost Research
carrot 18 s (9 s if fed) 4 2 -8 +6 Dies Free
wheat 27 s (14 s if fed) 8 3 -12 +8 Survives 40 coins
clover 15 s (8 s if fed) 1 1 +20 -10 Survives 60 coins
pumpkin 45 s (23 s if fed) 20 6 -20 +15 Dies 250 coins
berryRegrows 24 s (12 s if fed) 6 4 -6 +4 Survives 400 coins
appleRegrows 1 min (30 s if fed) 24 5 -10 +6 Survives 900 coins

More on crops and soil

Every move is checked

Your program runs on your own machine, so it can be as clever as you like. What reaches the leaderboard is the list of moves it made, and the server plays those moves back through the same rules.

  1. Write

    Edit your program in the game's editor, with autocomplete, breakpoints and a live line-by-line view of every bot.

  2. Run

    Your farm runs ten ticks a second. The game records each move: which bot, what it did, and on which tick.

  3. Replay

    The server replays that record from your last checkpoint. It never sees or runs your code.

  4. Rank

    If the replay lands on the same farm, your net worth counts. A doctored save simply doesn't match.

How the leaderboard stays fair

Start with one plot.

The starter program farms it for you. What happens after that is up to you.