How to play · What kind of game is this?
What a city simulation game simulates
A city simulation game is a set of rules that runs over and over: who lives where, who works where, who shops where, and what that earns. The pictures on the screen only show the result. This guide opens up the rules of one city sim, Cashmate, a free city tycoon that runs in your browser, and walks through what it calculates in a single game minute, with the real numbers of its starting city.
The short version: every real second is one game minute. Whenever the city changes, the simulation works out which buildings can work, how many people live in each home, how happy each home is, who works in which shop and how many customers reach each shop. Then, every minute, each shop makes its goods, sells what its customers want at your price, and the city pays its upkeep. The starting city has 30 residents and one Sushi Bar, and it ends each minute 15.8 coins richer.
The clock: one second, one game minute
The simulation moves in steps called ticks. One tick is one real second and one minute of game time, and 1,440 ticks make a game day, so a whole day in the city passes in 24 real minutes.
The time of day changes the light, not the numbers. Dusk and the neon at night follow the clock, but the simulation itself does not read it: a shop sells as much at midnight as at noon. That keeps the rules easy to follow, and it means an evening spent watching the lights costs you nothing.
What is worked out when the city changes
Most of the counting depends only on the layout: where the roads, homes, shops and parks are, and at which level. So the game works it out again only when something changes (you build, upgrade, bulldoze, lay a road, or a building finishes) and keeps the result until the next change, so it does not have to count the whole city again every minute. The order matters, because each step uses the one before:
- Which buildings work. A building works once it is built and has a road tile beside it. Without one it houses nobody, sells nothing and pays no upkeep.
- Residents. Each home houses a fixed number of people per level: an Apartment Block holds 10, 24 or 44. Nobody moves in on their own; the population grows only when you build or upgrade homes.
- Happiness, home by home. Every home starts at 50. Parks and other public buildings in reach add points (up to +40), each road tile beside it adds +2 (up to +6), every other home within 2 tiles takes 4 away (at most 24), and noise from a factory nearby takes points too. The happiness guide lists every source.
- Workers. Half of all residents work. Shops hire in the order you built them, each from the nearest homes first, up to 10 tiles away. A shop with half its workers makes half its goods.
- Customers. Everyone shops. Each home's residents count as customers, weighted by their happiness: ×0.5 at zero, ×1.5 at the top. They visit each of the five markets (food, fun, care, work, goods) that has a shop in reach, and within one market they split between the shops by appeal. Shops of different markets never take each other's customers.
- Demand. A shop's customers times what each would buy gives what they would take if it were free. That falls in a straight line as the price rises, down to nothing at the shop's top price. The supply and demand guide draws the line.
Then, every game minute
The layout is settled; now the clock runs. Each tick does three things, in this order:
- Construction. Every building site counts down one minute. A building that finishes works from that same minute.
- Making and selling. Every working shop puts what its staff made on its shelf, up to the shelf's limit, then sells the smaller of two amounts: what is on the shelf, and what its customers want at the price you set. The shop panel puts it this way: Stock is what it made but has not sold yet; a full shelf means it makes more than it sells.
- Upkeep. The city pays for every working building and every road tile, every minute, whether a shop sold anything or not.
One minute in the starting city, worked through
Here is the starting city once its new-city bonus (below) has run out, with the Sushi Bar at its best price. Every number comes from the game's own simulation.
- Residents and workers. Three Apartment Blocks with 10 residents each make 30 residents, so 15 workers. The Sushi Bar needs two and takes them from the nearest home. Fully staffed, it makes 6 sushi a minute.
- Happiness and customers. The homes sit at 52 and 54 happiness, so their residents count ×1.02 and ×1.04: 31 customers in all, every one of them within the bar's reach.
- Demand. Each customer would take 0.408 sushi a minute if it were free, so the bar could sell 12.6 a minute at a price of zero and none at 8. At its best price, 4.2, the customers want 6 a minute, which is just what the kitchen makes.
- Sales. The bar sells 6 sushi a minute at 4.2: 25.2 coins.
- Upkeep. The city pays 9.4 coins a minute: 4.8 for the Sushi Bar, 0.96 for the 16 road tiles, and the rest for the homes and the Fountain Park.
What is left is 15.8 coins a minute, about 950 for an hour of play. That is the whole economy of the starting city: one shop, limited by its kitchen, selling to 30 neighbours. Every move you make changes one of the numbers above. A new home adds customers and workers but also crowding; a park adds happiness and so customers, but costs upkeep; a second shop of the same market splits the customers. The zoning ratio guide follows those trade-offs as a city grows.
The new-city bonus
A young city gets help. During its first 60 minutes of play, every shop makes and sells up to ×3.5 its normal amount, and the bonus steps down every minute until it is gone. Time the game catches up while you are away counts too. The worked minute above is the city after the bonus, so its numbers are the ones you keep.
The same rules while you are away
Nothing in the simulation is left to chance: there are no dice in it, so the same city and the same moves always give the same result. When you come back after a break, the game replays the time you were away, up to 8 hours, with exactly the rules described here. It does not have to run every minute one by one: between two events, such as a building finishing, every rate stays the same, so it can work out a long stretch in one go and land on the same coins as the minute-by-minute run.
What this simulation leaves out
Every city sim simplifies. These are the things Cashmate does not simulate:
- Traffic. Roads carry no cars and need not connect to anything; a building only needs one road tile beside it. The road layout guide makes the most of that.
- Taxes. Homes pay nothing: the coins you earn come from what your shops sell, plus goal rewards.
- People who move. Residents do not arrive, leave or grow older; each home holds the number its level says. The people you see walking the pavements are drawn for you to watch, and the simulation never reads them.
- Power, water, fire and crime. There are no power lines, pipes, fire stations or police. Parks, halls, clinics and schools work only through happiness: they add points to the homes around them.
What is left is small enough to follow in your head, which is the point: you can predict what a move will do, try it, and check the result in the building's panel. Coins are an in-game currency and have no cash value. Start a city and open the Sushi Bar to see the numbers above.
More guides
Every control, tool and setting: the Cashmate player guide.
-
Supply and demand, shown with a city game
Demand curves, capacity, the market price and shifts, shown with real shops, plus three class activities.
-
Homes, shops and jobs: the zoning ratio in a city builder
Homes per shop worked out from workers and customers instead of guessed, with the industry and offices.
-
How to make residents happy in a city builder
The five parts of happiness, every service building, the cap, crowding and noise.
-
A city planning game: planning ideas you can try
Mixed streets, walking distance, quiet homes, parks and land: planning ideas you can test.