LIVE
← All posts

Harpoon Master

This week's random word was 'harpoon': a one-button fishing game where the rent is due every night. How the swinging harpoon, four fishing grounds, big-fish fights and a household budget came together.

Every week I draw a random word and try to turn it into a game. This week’s word was harpoon. The first image that came to mind: a big harpoon hanging from a boat, swinging left and right like a pendulum, and you tap at the right moment to spear the fish. I built it with Claude in four phases, so the “we” below is the two of us. (The game itself is in English and Turkish.)

One button, but a pendulum

The boat is fixed, with Monty on deck in a fisherman’s hat. The harpoon swings ±70° from the crane and is thrown with a single key (or a tap). The rules are simple, but two things shape the whole game:

  • Weight: the heavier the catch, the slower the harpoon comes back. A valuable fish deep down pays a lot but eats time.
  • Piercing: at first the harpoon stops at the first fish. Upgrade the piercing tip and one throw can spear 2, 3 or even 4 fish and trigger the combo multiplier.

Four fishing grounds and the hazards

Every five days the ground changes: Harbour, Coral Reef, Open Sea, Deep Trench. After day 20 they come around again with more valuable, faster fish and more hazards. Each ground has its own sky and water colours; in the Deep Trench the screen goes dark and only the anglerfish lanterns, the harpoon tip and the boat stay lit.

It is not only fish down there. Jellyfish slow your harpoon, pufferfish pop everything on the line, and sea mines wipe out their surroundings and lock your throw for three seconds. Chests and bottles can hold coins, a one-day item or a line cutter.

Big-fish fights

Swordfish and sharks stop the harpoon and start a fight. Two gauges: how far the line has been reeled in, and the tension. The fish switches rhythmically between two phases: tap fast when it is tired, let go when it thrashes. Press while it thrashes and the line strains and snaps. Phase lengths vary randomly, so you can learn the rhythm but not memorise it. Sharks have a shorter tired phase and recover faster.

The goal had to mean something

In the first version your cash had to reach a goal at the end of every day. It worked, but it meant nothing: nobody could answer “why 2,400?”. While testing I said so, and we rebuilt the economy: now every night the rent, groceries and the kids’ expenses are really paid out of your cash. The morning mail adds surprise bills on top: the child fell ill, the engine broke, the roof leaks. If your cash falls short, the game ends on that very item (“You could not pay the rent. The landlord is at the door.”).

Whatever is left after the bills goes to the shop. Play well and you have money to shop with; a bad day can be covered by what you saved earlier. But if the shop drains your till, tomorrow’s bills will find you.

Thousands of days, and a “novice”

We balanced it again with interface-less bots: three skill levels play day after day, shop, and pay the bills. In the first version the bots aimed well, so everything looked fine. Then in testing I found that a real beginner could not afford anything in the early days: after the bills about 100 was left, and the cheapest upgrade cost 250. Without upgrades earnings stayed flat while the bills kept rising.

So we added a slow, inaccurate bot that mimics a beginner. Using it we flattened the bills during the first five days at the harbour and made the first tier of upgrades cheaper. Now that bot buys its first upgrade around day two or three.

What is missing, what to watch

  • The game works on mobile too (tap, plus an on-screen scissors button), but it is most comfortable on a keyboard.
  • Every fish, creature and character in the game is fictional; all the art is drawn in code, there are no image files. The whole game is about 0.4 MB.
  • Sound is generated in the browser, no audio files.

Tight lines, captain.

The game behind this post

MONTY ARCADE