Appearance
Cars
Your cars do the work. Each one needs a driver, fuel and, from time to time, service.
What a car is
Every car has:
- a capacity: how many kilograms it can carry;
- a speed;
- a tank and a fuel use;
- a service level, which says how well maintained it is;
- its own cost for fuel and for service. A large truck costs more to fill and to service than a small van.
Cars differ in all of these. You start with one car, a van. Later you can win others at auctions.
Roads
Cars drive on roads. A car cannot cut across the map. When you send a car to a place, the game finds the shortest route and the car follows it.
If no road leads to the place, the car does not move, and your program is told.
Cars do not get in each other's way on the road. Any number of cars can be on the same road, and no car is slowed down by another while it drives. The ordinary cars you see driving around are traffic cars. They only show that the city is alive, and they never slow you down.
There is one place where a car can have to wait for another: from stage 4, a fuel station and a service station serve only a certain number of cars at the same time. The other cars wait in line, in the order they arrived.
Drivers
A car moves only with a driver in it. A car with no driver stands still. It still exists, and keeping it costs nothing.
Your first car comes with a driver. More about drivers is in A fleet.
Fuel
A car burns fuel while it drives. It fills up at a fuel station, and your company pays for the fuel.
When the tank is empty, the car breaks down.
Service
A car's service level drops slowly as it drives. It takes about ten full tanks of driving to reach zero, so service is a rare stop.
| Service level | What happens |
|---|---|
| Above about half | Nothing. |
| Below about half | The car drives slower, and slower still as the service level keeps dropping. |
| Zero | The car breaks down. |
A car restores its service level at a service station, and your company pays for it.
When a car breaks down
A car breaks down in two cases only: its tank is empty, or its service level reached zero.
A car that just stands still is not broken down. A car that waits for its next command costs nothing and needs nothing.
A broken down car is not lost. This is what happens:
- Your company pays a fine, at once.
- The car is out of action for a while.
- Then it stands at the nearest station, with a full tank and a full service level.
Your program does not have to ask for this. It happens by itself.
So neglecting a car costs money and time, and it never destroys anything.
Let the game warn you
Your program can ask to be told when a car's fuel or service level drops below a number you choose. See Writing code.