Lau Mau Farm
Design notes and change history for the Farmville-style browser game.
1The first farm
Lau Mau Farm is built and published: https://claude.ai/artifact/9ZPYiPoUfmBTkt85KDr3Wu
I assumed a few things:
- Farm and seeds: You start with 1000 coins and 12 squares. Pick a seed, then click an empty square to plant it for 5 coins.
- Harvesting: Click a glowing square, or press H, to harvest everything that’s ready.
- Controls: P pauses and Q quits (it saves first). Everything also works by mouse, with buttons for Harvest all, Pause, Save, Load and Quit.
- Crops: All 12 of your crops use your growing times. I added peas, potatoes, peppers, pumpkin, watermelon and pineapple (up to 8 hours).
- Profits: A harvest sells for roughly double the seed cost for the quick crops and up to about 45 times for the long ones. Lettuce brings 9 coins and pineapple 230.
- Growth: Nothing withers. Crops keep growing while you’re away, so your farm is ready when you come back.
- Buy more squares: You can buy more squares, up to 36, starting at 50 coins and rising 25 each time. This gives you something to spend coins on.
- Saving: It autosaves in your browser every few seconds and has Save and Load buttons. There is also Save to file and Load from file for a copy on your computer. File downloads may be blocked inside this preview, but they should work once farm.html is on your own site.
Want a different square count, other profit levels, or a link added from your arcade page?
2Orders, levels, animals and surprises
Lau Mau Farm now has all of it, on the same page: https://claude.ai/artifact/9ZPYiPoUfmBTkt85KDr3Wu
I haven’t played through it, so let me know if anything feels off.
Customer orders
- Three customers are always posted, each asking for a few crops, with a progress bar per item (like 3/5 tomatoes) and the reward shown.
- Your normal harvests count toward the first order that needs that crop.
- When an order is complete, you get a bonus of coins and XP on top of the normal harvest pay, and a new customer shows up.
- Higher levels bring bigger orders with more crops.
Levels, goals and progress
- Harvesting, orders and collecting animal products earn XP, shown as a bar at the top.
- A line under the bar shows orders filled, crops harvested and your next unlock.
- Each level-up pays a coin bonus. New crops, from potatoes at level 2 up to pineapple at level 12, unlock as you level.
Animals
- Chickens (level 1): eggs
- Pigs (level 3): truffles
- Sheep (level 5): wool
- Cows (level 7): milk
- You can own up to 10 of each. They wander around a pasture, and the Collect buttons pay out whatever has built up. Products keep piling up until you collect, so nothing is lost.
Surprises
- A gift box appears every few minutes, and it waits until you click it.
- What’s inside is always good: a golden harvest (next 3 harvests pay 5x), rain that speeds up every crop, a traveling merchant paying double for one crop, a gift basket of coins, or a fairy that instantly ripens a few squares.
Replant and fertilizer
- Replant (R): refills every empty square with whatever grew there last, or your selected seed on a fresh square.
- Fertilizer (F): turns on a mode where clicking or dragging over growing squares cuts the remaining time in half, once per planting. It costs 10 coins for short crops and more for long ones.
Nothing can wither or be lost, and everything keeps growing while you’re away. An older save still loads and starts with the new features.
Next ideas are decorations like fences and trees, achievement badges, and a daily gift. Want any of those?
yes - have different trees, fences, acheivement bagdes and daily gifts available. this will keep the players of this game excited to continue. I also thinking can we remove the plainly labeled SAVE and LOAD and just keep the Save to file and Load from file. I would be confusing.
3Decorations, badges and daily gifts
Lau Mau Farm now has decorations, achievement badges and daily gifts, and the plain Save and Load buttons are gone: https://claude.ai/artifact/9ZPYiPoUfmBTkt85KDr3Wu
I haven’t played through it, so let me know if anything seems off.
Save and Load buttons
- Only Save to file and Load from file are left.
- The game still saves itself quietly in your browser as you play and reopens where you left off, so there is nothing extra to click.
Farm yard (decorations)
- A new yard has 40 squares. Pick a decoration, then click a square to place it. Hold the mouse button and drag to place a whole row of fences at once.
- Click a placed decoration to take it back, and you get a full refund, so nothing is lost.
- There are 13 decorations that unlock as you level up:
- Trees: oak, pine and palm
- Flowers: sunflowers, hibiscus and tulips
- Fences and walls: wooden fence, white fence and stone wall
- Extras: bench, hut, fountain and cottage
Achievement badges
- 19 badges cover harvests, orders filled, levels, animals, landscaping, farm size, coins and more.
- Each badge shows its progress, like 37 / 100, and earning one pays 100 coins.
Daily gift
- A gift button sits near the top. It pays more coins each day over a 7-day cycle, and day 7 adds 5 golden harvests.
- Missing a day costs you nothing. The cycle just picks up where you left off.
Do you want anything else added, such as more decorations or more badges?
not sure if I like the yard feature with the decorations: the fences look like a ladder on the ground. probably nicer to have some decorations available on the SAME area as the farm, instead of a seperate yard ..?
Continue
4Decorations move onto the farm
Decorations now go right on the farm grid instead of in a separate yard. Same page: https://claude.ai/artifact/9ZPYiPoUfmBTkt85KDr3Wu
I haven’t played through it, so let me know if anything looks off.
- On the farm: The Decorations shelf sits under the seeds. Pick a decoration and click an empty farm square, and the square turns into a grass tile with the decoration on it. Hold and drag to fill several squares at once.
- Taking one back: With a decoration selected, click a decorated square to remove it. You get a full refund.
- Switching tools: Picking a seed switches you back to planting. A decorated square can’t be planted, so Replant skips it. Ready crops still harvest as usual, even with a decoration selected.
- Fences: They’re redrawn as a side view, with two rails and a post. Squares placed side by side now join into a continuous fence, so they shouldn’t look like a ladder.
- Old yard items: If you had decorations in the old yard, you get their coins back when the farm loads.
- Badges: The landscaping badges now count decorated farm squares.
Since decorations use up farm squares, buying extra rows is more useful now.