Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
Prompt libraryNovember 22, 20265 min read

A Prompt for a Tiny City Builder

A complete brief for a small, calm city builder with a readable economy, then why each rule is there, three follow-ups, two variations and the usual balance bugs.

Startbase Team
Editorial ink illustration of a tiny wooden island with toy houses, a mill and a winding road, a hand placing a little house in ember orange

Key takeaways

  • A small grid and four resources keep a city builder readable on a phone and testable in one sitting.
  • Write the economy as a table of what each building costs, produces and needs. That table is the game.
  • Run the simulation on a fixed tick, not per frame, so the town grows at the same pace on every device.

A tiny city builder prompt should fix the size of the world, list every building with its cost, output and needs, and say how the simulation ticks. Leave the economy vague and the agent invents one that either stalls or explodes within five minutes. The brief below builds a calm 3D island town on a 16 by 16 grid with five buildings, four resources and a short chain of goals, sized to finish and enjoy in an evening.

The island brief

Build a tiny city builder for the browser called Harbor Hill, 3D low-poly, for phones and desktop. The world is a single island of 16 by 16 tiles with a few trees and rocks, a beach edge and a small dock already placed. Camera: tilted top-down view, drag to pan, pinch or scroll to zoom, two-finger twist or Q and E to rotate in 90 degree steps. Resources: Coins, Wood, People and Happiness (0 to 100). Buildings (tap a card in the bottom bar, then tap a tile; a ghost shows green if allowed, red if not): Road, 1 coin, needed next to every other building. House, 20 coins and 5 wood, adds 4 people, needs a road. Lumber mill, 30 coins, must be next to at least two tree tiles, makes 1 wood every 5 seconds per neighboring tree, needs 2 people. Market, 40 coins and 10 wood, makes 2 coins every 5 seconds per house within 3 tiles, needs 3 people. Park, 15 coins, raises happiness by 5 for houses within 2 tiles. The town ticks every 5 seconds. If people needed by buildings exceed people available, the last built workplaces stop and show a small sleeping icon. Happiness below 40 means no new people move in; above 70 doubles market coins. Bulldoze returns half the cost. Undo the last placement within 5 seconds. Goals shown at the top one at a time: build 3 houses; reach 20 people; reach 500 coins; build a lighthouse (a special building that becomes available at 30 people and 70 happiness). Finishing the lighthouse plays a short sunset scene and lets the player keep building. Save the town automatically in the browser every tick. Look: soft pastel colors, chunky shapes, gentle waves around the island, buildings pop in with a small bounce. Sound: a light wooden tap when placing, coins jingling softly when markets pay, seagulls and waves ambience, a calm acoustic music loop. First version: one island, no disasters, no traffic simulation.

Why each rule is there

  • A 16 by 16 island. 256 tiles is enough for meaningful choices and small enough that every building is visible on a phone at once. Large maps belong in a later version once the economy works.
  • Four resources with clear jobs. Coins buy, wood builds, people staff, happiness multiplies. Each has one source and one use, so a player can always answer "why am I stuck?"
  • Adjacency rules. Mills next to trees, markets near houses and parks near homes turn placement into a puzzle. Without them, a city builder is a menu of purchases.
  • Workers that run out. Buildings stopping when people run short creates the classic city builder loop: build homes, then jobs, then homes again.
  • A fixed 5 second tick. The simulation runs on a timer, not per frame, so a 120 Hz phone does not earn coins twice as fast as a 60 Hz laptop.
  • Undo and half-cost bulldoze. Misplacing a building on a phone is easy. Undo forgives the slip; half refunds keep mistakes cheap without making demolition free.
  • Goals one at a time, ending in a lighthouse. Sandbox games need a gentle direction for the first session. The lighthouse gives a satisfying end point without ending the game.

The round-one guide on how to make a city builder explains zoning, service radii and economy loops in more depth, and the core game loop is worth a read if the town feels like it is waiting rather than growing.

The first three follow-up prompts

  1. 01"Simulate 30 minutes of play with a simple bot that builds the cheapest useful building whenever it can afford one. Print coins, wood, people and happiness every minute. If coins grow faster than about double every five minutes after the lighthouse, slow the markets."
  2. 02"Add a tap-to-inspect panel: tapping any building shows what it produces, what it needs and why it is stopped if it is. Tapping a house shows its happiness and which parks reach it, with those parks outlined."
  3. 03"Add a day and night cycle of 4 minutes: windows glow at night, markets close at night and make no coins, and a new Street lamp building (5 coins) keeps nearby markets open after dark."

Two variations

A 2D pixel town

Swap the look: "2D, pixel art, a straight top-down grid with buildings drawn as small sprites, no camera rotation." 2D makes placement clearer on small phones and suits a retro style. The economy stays exactly the same, which is a good reason to settle it first.

A shared town

Make it social: "Up to four friends in a room by link build on the same island. Coins and wood are shared, each player sees the others' cursors, and goals count everyone's work." It changes the feel from solitaire to a cozy group project. The room server runs in previews on every plan and publishes with the game on paid plans, per the multiplayer docs.

What usually goes wrong and how to ask for the fix

  • Coins run away after the first ten minutes. Market income grows with houses and happiness at once. Ask: "Cap the happiness bonus to markets at 1.5x instead of 2x, and make each extra market within range of the same house earn half as much."
  • Panning places buildings by accident. Ask: "On phones, a drag that moves more than 10 pixels is a pan and never places a building. Placement happens on a clean tap, and a selected card stays selected until I tap it again."
  • The game stutters with many buildings. Ask: "With 150 buildings the frame rate drops. Draw identical buildings and trees as instanced meshes and only update the parts of the town that changed on each tick."
  • A closed browser tab loses the town. Ask: "Save after every placement as well as every tick, and on load show the town exactly as it was, including goal progress."
  • Players do not know why a building stopped. Ask: "When a building stops, show a small icon above it (sleeping for no workers, a tree for no trees nearby) and a one-line explanation when tapped."

Tip

Arrange the starting island by hand in the World Editor: move trees and rocks so the first mill spot is obvious. A good starting layout teaches the adjacency rules without a tutorial.

Frequently asked questions

How big should a first city builder map be?

Small. A grid of about 16 by 16 tiles fits a phone screen and lets you finish and balance the economy quickly. Grow the map once the core loop is fun.

How do I balance a city builder economy?

Write every building's cost, output and needs in a table, then simulate play with a simple bot and print resources over time. Adjust one number at a time.

Does the town keep growing when the game is closed?

Not in this brief: it saves on every tick and resumes where it was. Offline growth is possible, but it needs a cap so players do not come back to a broken economy.

On this page

  • The island brief
  • Why each rule is there
  • The first three follow-up prompts
  • Two variations
  • What usually goes wrong and how to ask for the fix

Keep reading

More in Prompt library
Editorial ink illustration of an open seed packet beside a wooden hoe and a watering can, one sprouted seed in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Cozy Farming Game

Paste this brief to get a calm, playable farm on the first build: four crops with real numbers, an eight-minute day, two seasons and controls that work under a thumb.

7 min read
Editorial ink illustration of an iron dungeon key, a die and a skull candle holder, the candle flame in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Roguelite Dungeon Crawler

One brief for a top-down roguelite that is fun on the first build: a dodge with real frame values, enemies that telegraph, relics that change runs and a hub that keeps progress after death.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.