Harbour Authority
Build dossier · v0.8
Win a foothold. Open the city. Make your promises count.
The expansion turns the first harbour contest into a twenty-day campaign with different openings, a second district, configurable agreements, limited tactical moves, consequential events, and a genuine route back from an early defeat. Its central design question remains unresolved by code alone: will an ordinary player enjoy making these decisions and want another attempt?
Version 0.8 changes how players enter that campaign. The default start teaches one task at a time through real deliveries and two earned mandates, then reveals more controls as the campaign develops. Custom starts retain the full set of opening choices.
The design draws on the requested conversation between statecraft and economic RTS perspectives. The imagined designer is a design exercise, not a claim of employment on Age of Empires. Values and fictional institutions are authored game rules, not a model of actual municipal government or human behaviour.
1. The design decision
The earlier slice could become a solved opening followed by repeated day advancement. A longer timer would magnify that weakness. This expansion changes the opportunity set and introduces decisions that interact with existing commitments.
Presenting all of those decisions at the first click creates a separate failure: a new player must learn the interface before experiencing a useful result. The guided opening makes the first objective concrete—earn the Market's backing—and defers the broader toolset until the player has used a crew, seen a delivery, and earned authority.
The core verbs are acquire, allocate, negotiate, supply, commit, and govern. A useful plan changes actual operating conditions. It can save crew capacity, share revenue for a stronger offer, take on a temporary obligation, or enter a less contested institution. A speech alone does not award authority.
| Implemented now | Why it changes the decision |
|---|---|
| Guided opening with progressive controls | One immediate task leads to a real service result; additional decisions appear when they become relevant. |
| Three origins and three campaign conditions | Opening assets, financing, recurring costs, and competitive pressure differ. |
| A district opening on day 9 | Existing investments become tools for reaching two new institutions. Losing the first charter still leaves an attainable objective. |
| Institution-specific deals | Price, operating input, revenue sharing, and commitment compete for the same limited resources. |
| Four finite tactical moves | A player can bridge a timing or capacity gap without permanently rebuilding the organisation. |
| Six authored decisions | Spending, protection, target selection, and the final operating policy change the campaign. |
| Rival investment and visible intentions | A previously adequate offer can need revision; the player can defend or move elsewhere. |
| Optional commissions and a campaign recap | Productive experiments earn finite rewards, and the ending records the route taken. |
The headline resources remain cash, supplies, and crews. Generic influence, happiness, prestige, and research meters would create extra bookkeeping without establishing a better decision.
2. From first click to first consequence
The primary start enters Builder under standard conditions with seed 27: 85 cash, three crews, eight supplies, and an operational Workshop. It asks for no origin, condition, or seed decision first. A secondary custom start exposes those options and the full controls. A saved campaign can be continued; skipping the guide keeps its current simulation state.
The guide presents one immediate task at a time and chooses the next task from actual campaign facts. It does not award special resources or count button clicks as success.
| Opening moment | Player action | Consequence that teaches the rule |
|---|---|---|
| First service | Send one crew to the Market. | The crew has a standing assignment; it does not need to be reassigned each day. |
| First delivery | Resolve day 1. | The Market pays 15 and crew wages cost 6: a real net gain of 9. The next prompt reads these amounts from the ledger. |
| First backing | Resolve day 2 and acknowledge the Market's support. | Two fulfilled service days earn a mandate. This success is shown before the festival requests another decision. |
| A first choice | Resolve the festival and send a crew to Civic. | An authored choice changes the operation, while the Market assignment continues. |
| An optional investment | After the first Civic delivery, build the Warehouse or keep the remaining crew free. | Investment spends cash and reserves capacity; the choice is not required to complete the introduction. |
| A small operating coalition | Resolve the second Civic delivery. | Market and Civic both genuinely support the player by day 5, completing the guided opening. |
On the conserve-resources festival route, the Warehouse is affordable on day 4 and becomes operational when day 5 resolves, before Voss's day-6 upgrade. Without a response to later competition, the initial Market offer can lose its advantage. The guide establishes a foothold, not a permanently solved operation.
During these tasks, the coaching panel supplies the relevant action. Unrelated orders and continuous running are withheld. Mandate information appears from day 3, and rival and supply detail from day 4. On completing the guide, ordinary service and asset controls become available; deals and commissions appear from day 5, tactical moves from day 6, and typed plans and map views from day 9. The player can expose all controls explicitly. Custom starts and older saves without guide progress already use the full interface.
The custom origins remain distinct. Broker begins with 120 cash and three crews; a qualifying service advance provides 40 instead of 30. Operator begins with 95 cash, four crews, and a ready provider-owned Yard, including its continuing charges. Each origin starts with eight supplies before scenario adjustments. The supply squeeze raises the normal supply price by one and grants ten extra opening cash. The stronger-rival condition gives Voss more funds, more initial quality, and the Dock mandate, while the player receives twenty extra cash. These are explicit conditions, not undisclosed difficulty bonuses.
Time remains paused until the player resolves a day or, once available, starts the pausable run control. Events pause progress for a decision. The full interface separates ordinary orders, richer deals, finite moves, and a typed plan.
After resolution, the daily story explains delivered work, financial effects, construction, rival moves, and changes in support. The Journal retains account detail. First mandates, completed projects, district access, and charter changes receive more visible feedback than routine receipts. Optional sound accompanies actions and milestones.
An institution can award a mandate after two consecutive fulfilled service days. A first missed day warns; a second withdraws an existing mandate. The player therefore has a short response window. The inspector and rival information give a reason to alter terms, invest, use a temporary move, or deliberately leave a contest.
The opening is designed for roughly three to five minutes, with the first useful consequence arriving much sooner. That is a playtest target, not a measured usability result. The next check is whether an unassisted player can explain why the Market and Civic now support them, then make a new decision after the guide ends.
3. The twenty-day campaign
| Campaign period | What changes | What the player is deciding |
|---|---|---|
| Days 1–2 | Initial service and construction begin. | Which two institutions can this origin afford to serve? Which capability is worth delaying income for? |
| Days 3–5 | A festival creates a short opportunity. The rival broadens its operation. | Take an offer-strength boost, secure stock, or preserve cash? Defend the original plan or revise it? |
| Days 6–8 | A storm increases input costs and demand. The first charter is decided after day 8. | Protect service, add temporary capacity, or accept the disruption? Is the first majority affordable? |
| Days 9–12 | University, Rail, the Exchange, and the Rail Hub become available. Delegates favour a chosen city position. | Expand directly, finance construction from established work, or concede a harbour contest to redeploy? |
| Days 13–16 | Voss improves its fleet again. A challenge offers a targeted response or cheaper stock. | Which agreements still work? Is a launch pledge, priority service, or partnership worth its cost? |
| Days 17–20 | The player chooses a governing policy or campaign stance. Voss makes a final demonstration. | Preserve an operating majority, change the coalition, or use a timed intervention to complete the comeback? |
Two of three harbour mandates after day 8 earn the initial charter and a 30-credit authority grant. Falling short grants a smaller 12-credit provisional-entry contract; the city still opens on day 9. The early loss changes the position without discarding half the game.
The city majority is first assessed after day 16. The final victory condition at the end of day 20 is three of five mandates, including at least one city institution, with all service-advance and recovery balances settled. An existing mandate survives one missed service day under the same warning rule used earlier. Two consecutive unpaid payrolls can end the campaign before the final vote.
This structure supplies two different problems: establish an efficient operation, then decide how to use its capabilities and commitments across a larger contest. If observed players merely repeat the same action in a bigger district, the expansion has failed its design purpose.
4. Agreements that change the operation
Each institution has its own price ceiling, price sensitivity, input needs, staffing requirement, and quality threshold. Market and Civic reject toll two. Dock, University, and Rail accept it. University requires more quality and particularly values priority service; Dock particularly values a revenue partnership.
| Deal choice | Immediate benefit | Continuing cost or constraint |
|---|---|---|
| Toll 0, 1, or 2 | Lower prices improve the bid; higher accepted prices increase receipts. | An unacceptable price prevents service. Higher prices can lose a contest to a cheaper rival. |
| Standard service | Ordinary input requirement. | No additional quality benefit from the service arrangement. |
| Priority service | Adds two quality points, with an additional University advantage. | Uses one extra supply per delivered service. |
| Revenue partnership | Adds two quality points, with an additional Dock advantage. | The institution retains three from each gross receipt. An operational Exchange strengthens partner offers. |
| Flexible agreement | Terms can be revised and capacity released. | Provides no launch-pledge quality benefit. |
| Three-day launch pledge | Adds two quality points while making a funded readiness commitment. | Places ten in escrow, commits terms for three resolutions, and can be used once per institution. |
The pledge promises staffed, supplied, compliant readiness. A stronger rival winning a fair bid does not confiscate the deposit. Cancelling the service or failing the player's readiness obligations forfeits it; an honoured pledge returns it. Restricting it to one launch per institution prevents recurring deposit renewal from becoming a compulsory administrative chore.
The deal composer presents presets and then allows individual changes. A preview displays offer strength, expected receipt before advance withholding, input requirement, and crew demand. The primary cash forecast projects the entire next resolution, including construction completion, procurement, wages, leases, financing repayments, and other transfers. It is withheld while an event choice is unresolved or the campaign has ended.
The optional typed plan translates a small vocabulary into supported commands. The review shows recognised orders and unsupported clauses. Nothing executes merely because the text sounds persuasive. A recognised multi-action plan must pass revalidation before the interface commits it atomically. This is a local parser; general natural-language interpretation is future work.
5. Productive capacity and finance
| Asset | Operating effect | Acquisition commitment |
|---|---|---|
| Bonded Warehouse | Supplies cost one less; Market offer quality increases by two. | Costs 42; takes two resolutions and one project crew. |
| Fleet Workshop | Each service uses one fewer base input, with a minimum of one; quality increases by two everywhere. | Costs 36; takes two resolutions and one project crew. Builder starts with it ready. |
| Dockside Yard | Adds a crew, reduces Dock staffing from two to one, and adds two Dock quality. | Provider-owned lease: 12 initially, one resolution to open, three daily, Dock toll ceiling of one. Operator starts with it ready. |
| Civic Exchange | Adds three University quality; partner services gain one quality. | Available in the city; costs 44, two resolutions, one project crew. |
| Rail Service Hub | Reduces Rail staffing from two to one and adds three Rail quality. | Available in the city; costs 48, two resolutions, one project crew. |
A permanent crew costs 18 to hire and two each day, including idle days. Construction temporarily reserves capacity. Finishing an asset can free its project crew and change the same day's operation. Owned productive assets can be sold for a partial refund; the provider-owned Yard cannot be sold as if it belonged to the player.
Automatic procurement buys the inputs required for assigned services, subject to cash and finite stock. Only delivered service consumes those inputs. This removes repetitive supply purchasing while preserving a reason to hold reserves, use a convoy, or buy ahead of the storm. Stock can still sit unused when an assigned offer loses to the rival.
A service advance brings forward an institution's funded receipts. Later deliveries withhold up to ten per day until that balance is repaid; one advance is available per qualifying mandate, and requests close after day 15. It is financing, not additional lifetime income. A one-time recovery contract is available below 25 cash through day 16: receive 35 and repay 40 from future service receipts at up to five per delivery.
The simulation records transfers between player, rival, institutions, authority, workers, suppliers, and other counterparties. Cash and supplies are conserved under the defined accounting. Commissions and grants have a paying account. A finite account does not by itself prove economic balance or realism.
6. Tactical windows, events, and opposition
Four moves offer temporary answers to a concrete problem. A targeted demonstration costs 12, adds three quality for two resolutions, and has three uses. A reserve crew costs ten plus its normal wages, lasts two resolutions, and has two uses. Working through the night costs eight and one supply, immediately removes one day from an active project, and has two uses. A supply convoy buys eight supplies for 18 from finite stock and has two uses.
Temporary capacity expires. If its departure leaves the organisation overcommitted, the engine releases excess assignments rather than permitting imaginary crews. Moves are finite opportunities, not daily maintenance buttons. A winning plan can rely on persistent investment and suitable terms without using every move.
| Decision day | Authored situation | Alternatives |
|---|---|---|
| 3 | Harbour festival | A short Market demonstration, discounted supplies, or conserve resources. |
| 6 | Coastal storm | Protect service input needs, secure a temporary crew, or absorb the disruption. Protection does not cancel high market prices. |
| 11 | City delegates | Strengthen the University offer, strengthen Rail, or hold reserves. |
| 14 | Rival challenge | Temporarily strengthen the challenged offer, buy stock, or wait. |
| 17 | The final operating stance | Reinvest, commit to low tolls, retain current terms, or use a levy if authority has been earned. |
| 19 | Final opportunity | Hire a temporary crew, sell a small supply reserve, or preserve the operation. |
The policy choice has actual consequences. Reinvestment costs 20 initially and three daily, adding one quality and reducing base input use. Open access commits prices to zero for the final term. The levy commits toll two and collects four per held mandate daily; it sacrifices Market and Civic compatibility and the Yard's cheap Dock operation. Dock, University, and Rail form a possible specialised coalition for it. Keeping current terms remains an available choice, including when live pledges or low cash block other policies.
Voss spends its own cash and supplies. Its plan includes funded quality improvements, added crew capacity, changing targets, and a final targeted demonstration. The interface exposes intentions and current competition so the player can respond. The rival's existing bases use different crew requirements from the player's opening organisation; it is a bounded authored competitor, not another identical player or a general planning AI.
Characters supply short voices tied to their needs. The Market wants reliable stalls; the Dock wants timely delivery; Civic values ordinary services; University wants quality; Rail wants capacity and a timetable. Narration reports the simulation's consequences. These fictional lines do not establish an accurate simulation of real people's decisions.
7. The fun hypothesis and its risks
The intended pleasures are building something that continues to work, seeing a district open because the campaign has progressed, discovering a useful combination, responding to a readable opponent, and recovering after an apparent setback. These are hypotheses to test with people.
Standing orders, automatic procurement, automatic commission rewards, concise daily stories, presets, and contextual guidance reduce repeated administration. The opening reveals a few controls at a time; experienced players can expose them all. Commissions reward productive experiments and differ by origin, but do not replace the main objective with a checklist.
The ending provides a score, up to three stars for a win, badges, selected campaign moments, and another challenge. The score concerns the fictional campaign. It is not a leadership assessment or evidence that an approach will work outside the game. Completed scores remain in local history, allowing a new opening to be compared with previous runs.
Four risks deserve observation before adding geography. Efficient known routes can finish with several hundred cash, weakening late financial pressure. Zero-toll quality investment may become the obvious strategy across too many conditions. Some players may never need tactical moves. The warning grace period permits retaining a mandate after a single final-day miss; whether that creates satisfying close victories or a misleading ending needs testing.
The answer to those risks is not automatically more penalties, surprise confiscation, or more resource meters. First observe the decisions people actually make, the consequences they understand, and the moments they remember. Then change the specific weak tradeoff.
8. Architecture and verification
The browser scene reads canonical state and submits commands. The simulation is independent of Canvas, sound, and modal presentation. It exports action previews, immutable action application, day resolution, objectives, deal previews, events, operations, commissions, and recap data. Rendering cannot grant resources merely by playing an animation.
Current source is in dist/engine.js, dist/onboarding.js, dist/app.js, dist/map.js, dist/index.html, and the stylesheets. The pure onboarding module derives instructions and control availability from canonical state. Versioned local storage also retains guidance progress. Reloads resume the appropriate task; incompatible presets, advanced saves, and divergent states exit guidance rather than replaying an invalid order or claiming success. A new campaign replaces the active save while retaining completed local scores. The client is not a security boundary for a shared economy.
The expanded engine currently passes 38 automated tests. Coverage includes complete winning routes across all three origins with Reinvest and Open Access, a genuine comeback after losing the first charter, invalid-action immutability, conserved resources across mixed seeds and conditions, lease constraints, service advances, expiry of temporary capacity, finite operations, pledge refund and forfeit, fair bid losses, the one-pledge limit, policy fallback, and an exact next-resolution cash forecast.
The onboarding module adds 10 passing tests, for 48 automated checks in total. They verify the genuine two-mandate route and first-delivery figures, saved checkpoints without duplicated commands, the optional Warehouse's affordability and completion before the rival upgrade, the valid route without construction, shared button and keyboard gating rules, skipping without simulation changes, incompatible saves, divergent states, progressive control availability, and immutable read models. These are module and simulation checks; they do not establish that the browser has wired every control correctly.
Additional direct scripted campaigns have verified Builder victories in the supply squeeze and stronger-rival conditions and an Operator victory using the levy. That levy route prepares extra owned crew capacity before losing the Yard, changes the coalition, and uses a timed Rail demonstration. These checks establish feasible routes, not equal difficulty or general strategic diversity.
Prior v0.7 browser verification completed the full Builder campaign under standard conditions, seed 27. It began with Civic alone, missed the day-eight charter, opened the Exchange and Rail Hub, changed University and Civic to priority service, and committed a Rail priority agreement and launch pledge together with its service assignment. It exercised convoy and expedited-project moves, all six event decisions, and Reinvestment. The day-twenty comeback won three mandates with 40 services delivered, 272 cash, all three commissions, one honoured pledge, zero broken service days, a comeback badge, and a score of 1,060.
Save and reload resumed that campaign on day 9. Separate browser checks started Operator in the supply-squeeze condition with 105 cash and four crews, successfully assigned service through an unchanged-term combined agreement, and reviewed and committed the typed command “Set toll 0”.
A 390-pixel-wide browser iframe was checked for the starting screen, scrolling and map access, deal presets, a launch pledge, revised commitments, day resolution, and Journal financial entries. The inspected entries included eight in crew wages, three for the Yard, ten in pledge escrow, and a Dock receipt of sixteen. These are bounded browser interaction checks, not tests on physical phones or evidence of complete accessibility, broad device compatibility, human enjoyment, or learning transfer.
The v0.8 browser walkthrough verified the guided route through two supporters on day 5 and the storm decision on day 6. Reloads after the first crew assignment and at the first-backing celebration resumed the correct task; the celebration remained ahead of the pending festival. The N shortcut could not advance before assignment or skip the celebration. Space opened a native agreement disclosure without starting automatic play.
At a 390 × 844 CSS-pixel viewport, the first primary action was visible without scrolling. Choosing the lower festival option returned the next lesson to view. The optional Warehouse decline and Show all controls preserved the day, cash, and service assignments. The custom Broker/supply-squeeze start remained functional with the full interface. These checks do not establish physical-device compatibility or human enjoyment.
Before further scope, observe unassisted sessions from new players and experienced strategy players. Record confusion, abandoned choices, corrections, remembered consequences, and voluntary replay. Record facilitator intervention separately. A polished screen or a passing route script cannot substitute for those observations.
9. Presentation and the full-game path
The current presentation is an authored procedural Canvas city with readable districts, routes, ownership, projects, map views, milestone feedback, and optional sound. It is a browser mechanics prototype. The requested AAA standard remains a production objective, not a completed feature.
A presentation proof should take one representative environment and one consequential encounter through finished materials, lighting, animation, sound, camera work, and interaction. The selected engine must demonstrate the combined result on nominated hardware. Measure frame time, memory, text readability, input clarity, and the match between committed state and visible consequence.
Asset provenance, permissions, scale, naming, collision, animation, and level-of-detail conventions must be established before expanding the environment. Concept images are references; they do not prove usable game assets or real-time performance. Bigger scenery is not a remedy for a weak decision loop.
A later language service could interpret proposals into the existing action vocabulary and present grounded counterparty responses. It must identify unsupported ideas, preserve the player's causal intent, respect what an actor can know, and leave validation and accounting to the engine. General agreement invention would require a broader composable contract system and its own tests.
Live world data, global campaigning, multiplayer, warfare, public cryptocurrency, real commerce, payouts, and unrestricted user content are separate future scope. Fictional credits already support the current game economy. The prototype provides no evidence that a public token is needed, that it would accrue value, or that game success transfers into real political authority.
10. The next investment decision
The immediate gate starts with an unassisted opening: can a new player take the first action, understand a delivery, earn two supporters, and make a decision when ordinary controls appear? Then assess a complete campaign with understandable consequences and a reason to replay. At least several opening and policy combinations must be useful; missing the first charter must leave a plausible recovery; and choosing a different agreement must visibly change the problem.
If those observations hold, deepen counterparty responses and presentation around the working loop. If players spend most of their time following a single recipe or repeatedly advancing a solved operation, revise incentives and pacing first. A continent, a currency, or a larger cast would otherwise multiply administration.
The purpose of the game can be meaningful without claiming to train real rulers: it can let players investigate the tension between acquisition, productive capacity, promises, dependency, and durable authority. Whether it actually does that—and whether it is enjoyable—must be demonstrated in play.
Implemented mechanics and scripted results are distinguished from production ambitions and human playtest questions.