Harfred Labs

Blog / Home / HL-052 ·

Sprinklers

Design it. Dig it. Program it. The game where the answer to "why is my lawn brown?" is "pressure".

Open Sprinklers ↗

Sprinklers screenshot

What it is (a very wet hobby)

Sprinklers is an irrigation design game that is also a real design tool. It teaches you to design a home watering system and, at the end, hands you a parts list to take to the shop.

It works two ways. Career has twelve puzzle jobs on yards in an invented town. You survey the tap, draw the yard, group the plants by how thirsty they are, place the sprinkler heads, pipe it all up, wire the controller and set the run times. You earn stars for coverage, hydraulics (how the water pressure holds up), cost and neatness. My Yard runs the same engine on your own property, using an address lookup to find your block.

There's a Designer button that will do any step for you and explain why. It offers Good, Better and Best designs, each with a build cost, a do-it-yourself difficulty rating from 1 to 5, and weekly water use. The output is a scaled plan, a zone table, a controller program and a bill of materials, with a picture for every part. There's even a page of design rules for suppliers. It's the only game where the final boss is a parts list.

Who it's for (people about to dig up the lawn)

People about to dig up the garden who want to know what they're in for. Tidy-minded people who enjoy a plan. And anyone who wants to learn a real trade by doing it. There are four difficulty levels: Apprentice, Tradie, Designer and Master. Nobody starts at Master, except your neighbour, apparently.

How it was built

Sprinklers is a fork, meaning a copy that went its own way, of an earlier game of ours: a lawn-mowing sim. A written audit listed what to reuse, what to adapt and what to leave behind. The shared code was too tangled to share, so we copied it rather than building a common library.

The water maths is real. Pipe sizes use the actual inside diameters of real pipe types, and friction loss uses a standard textbook formula. A test holds our numbers against a second method. The brief asked the build to make its own calls and write each one down, and the decisions log now has well over 140 numbered entries. Longer than most strata minutes.

It runs on phones and the web, works offline, and has about 1,000 automated tests.

Lessons learned

More from the lab