Harfred Labs

Blog / Games / HL-049 ·

Haywire

Dig for needles by feel, then build machines that dig for you. A needle in a haystack, but the haystack has a union.

Open Haywire ↗App Store ↗

Haywire screenshot

What it is (a very itchy hobby)

Haywire is a game about a haystack of about six million strands, locked in a warehouse. Somewhere inside are a handful of needles. You dig with your hands, and your phone is the metal detector: the closer you get, the faster it ticks and buzzes. Find the needle, feel smug, repeat.

Dug hay sells. The money buys better tools, then machines: intakes that chew the pile, belts, balers, scanners that catch needles riding the belt, a generator to run it all, and a hatch to sell from. Clear the pile and a bigger one is delivered. Nobody explains why. The warehouse is very quiet about it.

There's a day and night cycle, so the lamps come on after dark. Progress keeps going while you're away, and the plan caps those earnings at eight hours. Even the balers get a work-life balance.

Who it's for (people who find hay relaxing)

People who like watching a number go up while pretending to relax. Fans of "dig, sell, automate" games. And kids: the design calls for a Simple mode (the default, no power to manage, and a missed needle just goes back in the pile) and an Advanced mode for people who like to fuss. Simple games can be upgraded to Advanced, but Advanced can't go back. Like a mortgage.

The plan borrows the mechanics of an existing digging game and none of its name, art, text or story. Inspired by, not stolen from.

How it was built

It's a phone and web app built with Ionic, Vue and Capacitor, with one three.js screen (a 3D drawing library) for the warehouse. Everything else is ordinary menus.

The pile is a grid of 48 by 32 by 48 little cells, each holding how much hay is there, with the six million strands mapped onto it. Only the chunks you've just dug get redrawn, which is why it doesn't melt your phone. The machines run on their own clock, ten steps a second, separate from the drawing, so a busy factory doesn't slow your digging.

Power is a budget, not wires. Generators add capacity, machines draw from it, and if you go over, everything runs a bit slower. Nobody has to untangle a cable, which is more than most offices can say.

The look is a feed store in a dark barn: galvanised steel, stencilled sacks, orange baling twine. The fonts ship inside the app, so it works with no signal.

Lessons learned

More from the lab