中文为翻译,建议用英文版。

A grand strategy game

Grains

Real geography · Three layers · No victory

Grains is a grand strategy game. The map is a continuous spherical surface, loaded from real geographic data. The simulation runs in real time on a continuous globe; there is no grid. The time period, the scope of the map, and the cast of factions are all set by the scenario — Grains is built to support many.

Foundations

Two principles shape every decision in the design.

Reality is the source

Every mechanic with a real-world referent — agriculture, combat, supply, demography, taxation, terrain — is grounded in research, not invented for the game. If reality is too complex to model faithfully, the design simplifies by removing, not by approximating.

Three layers, two directions

The game has three layers — bottom, middle, surface — traversed in opposite directions for information and for action. Players — anyone who issues commands — come in different forms and from different sources. Some are external: a human at a GUI (the GUI is itself a translation between clicks and game commands), an AI driven by a language model, a script, or any combination. Some are internal: scripts the game itself runs to drive in-fiction characters like commanders and generals. The server treats them all the same.

The two flows

Information rises. Action descends.

Information rises upward. At the bottom are hidden values and mechanics (say, a general's tactics score is 99/100). In the middle are the observable consequences those mechanics produce (that general has won three battles in a row). At the surface is the secretary's in-fiction interpretation, which is what the player reads (a report to the player: “that general is strong, because he has won many battles”).

Action descends downward. At the surface is the player's natural-language intent (“send 500 cavalry east to reinforce that battlefield”). In the middle is the secretary's translation into specific game commands (prepare provisions, dispatch units, set destinations). At the bottom is the simulation executing those commands.

The agent at the middle of both flows is itself a player — the secretary role is one of the forms a player can take, not a separate kind of entity.

The three layers, two flows

hover a layer or a flow

Surface

The secretary's in-fiction interpretation, and the player's natural-language intent.

Middle

Observable consequences, and the secretary's translation into game commands.

Bottom

Hidden values and mechanics; the simulation executing commands.

Up · Surface

“That general is strong, because he has won many battles.”

Up · Middle

That general has won three battles in a row.

Up · Bottom

The general's tactics score is 99/100.

Up — information rises: hidden values become observable consequences become in-fiction interpretation. Down — action descends: natural-language intent becomes specific commands becomes simulation.

What the player does

Speak intent. The world responds.

At the surface, the player expresses intent in natural language — send reinforcements east, raise taxes in this province, negotiate with that neighbor — at whatever level of abstraction suits them. Combat has no per-unit manual control of any kind; armies close enough to each other are simply fighting, and the outcome plays out from composition, terrain, and morale.

Examples of intent

“Send reinforcements east.”

“Raise taxes in this province.”

“Negotiate with that neighbor.”

The strategic theme is geography. The shape of the land decides what an army can do — terrain shapes movement speed, agricultural output, morale, and attrition, all grounded in real research. Supply is the most visible expression of this: food, equipment, horses, and currency are physical objects with locations on the map, moving only when something carries them, so long campaigns become a question of working supply lines back to producing cities. Cutting a supply line cuts an army's pay and its food.

Allegiance

A faction is a pattern, not a thing.

i

Defection

A commander defects by rewriting their own allegiance.

ii

Rebellion

Several rewriting the same way is rebellion.

iii

Conquest

Cities don't carry an owner; their resources are dispensed by whichever commander's army is stationed there. Conquest is the moment that changes hands.

Factions are not entities in the simulation. They are interpretations of patterns — when commanders, their armies, and the people directing them all claim the same allegiance, that pattern is called a faction.

VERSION NOTE · 0.25.1 · OCTOBER 6, 2026

The original vision, item by item

This list follows the June 1 vision in its original order. A goal is green when its intended capability works, even if its implementation evolved; yellow means a material part is present; red means the key capability is absent. Technical differences and limits are explained in each row.

At 0.25.1: 12 achieved · 4 partial · 3 not achieved.

  1. A spherical world with continuous positions

    Positions are stored as three-dimensional unit vectors; distances and movement use spherical geometry. The globe is a simulation fact, not just a visual effect.

    src/sim/types.ts
    Achieved
  2. No underlying grid

    The game does not lock armies to tiles or hexes: positions and distances are continuous on a sphere. Terrain sampling and some route calculations do use grids and graph cells, so “no grid” is only true at the movement/position level.

    src/sim/modules/terrain.ts
    Partial
  3. Scenarios determine period, region, and factions

    The scenario registry includes Greece, Anatolia, Tumu, 1206, 1444, Ming 1444, and the Second Punic War. The engine is no longer tied to one place or date.

    scenarios/index.ts
    Achieved
  4. Reality-grounded mechanics; simplify by removal rather than invention

    Research and source tracing remain governing design principles. The values register distinguishes measured [R], calibrated [C], and director-set [I] figures instead of presenting every coefficient as established historical fact.

    demo-values.md
    Achieved
  5. Three layers: information rises, action descends

    Simulation mechanics, player-visible records, and interpretive presentation remain separated. Information is exposed upward; actions arrive as validated commands. Direct GUI control and an optional Secretary are two compatible routes through that structure.

    ARCHITECTURE.md
    Achieved
  6. One command interface for humans, AIs, and scripts

    Humans, the CLI, bundled policies, and managed/custom agent implementations use the same authenticated observation and command boundaries.

    README.md
    Achieved
  7. In-fiction commanders and generals act as independent players

    Every assigned faction can be operated independently by a human, the bundled AI, or another managed player/agent using the same rules and commands. This realizes the independent-player goal at the faction-command level; individual generals accepting or rejecting a superior’s orders are not a separate simulated command chain.

    src/sim/modules/controllers.ts
    Achieved
  8. The player expresses intent in natural language

    The launcher’s Secretary accepts natural-language intent, translates it into ordinary game commands, and reports back. Players can also issue precise GUI or CLI commands; those additional interfaces do not negate natural-language play.

    launcher/main/player-runners.mjs
    Achieved
  9. Players can order taxation and diplomacy

    Inter-faction permissions, alliance/vassal-style grants, and request approval or denial are implemented. A general tax-rate command and open-ended negotiation mechanics are not, so the June examples are only partly playable.

    src/translations/base-content.ts
    Partial
  10. Combat is automatic at army level, without unit micromanagement

    Combat resolves at army scale through target range, composition, terrain, morale, routing, and sieges. There is no tactical hand-control of each soldier.

    demo-design.md
    Achieved
  11. Real terrain determines strategic possibilities

    Measured terrain feeds passability, route cost, agriculture, combat conditions, and the cost of keeping an army fed. Mountains and coasts are mechanical constraints.

    src/sim/modules/terrain.ts
    Achieved
  12. Terrain affects movement, agriculture, morale, and attrition

    Terrain affects movement speed, agricultural output, combat effectiveness, morale, and the food cost of travel. Harsh routes can cause losses through hunger and starvation rather than through a separate arbitrary “terrain attrition” meter.

    demo-design.md
    Achieved
  13. Supply lines physically sustain field armies

    Cities and armies hold food. Carts, convoys, and standing supply routes move it between locations; interception and starvation can decide a campaign.

    demo-design.md
    Achieved
  14. Food, equipment, horses, and currency form a physical economy

    Food exists as location-bound stores and travels in physical convoys; livestock, equipment and ships have concrete unit/roster roles. The original universal item economy is still incomplete, particularly movable currency and army pay.

    demo-design.md
    Partial
  15. Factions emerge from patterns of allegiance, not stored entities

    The June ideal is not how 0.25.1 stores politics. Factions have explicit identities; armies and cities carry faction fields. This is a different model, not simply a missing UI.

    src/sim/types.ts
    Not achieved
  16. Defection and rebellion arise when commanders change allegiance

    The original commander-level allegiance rewriting is not part of the current faction-control mechanics or command set.

    src/translations/base-content.ts
    Not achieved
  17. Cities have no owner; conquest changes who dispenses their resources

    Conquest does change which faction controls a city, including through siege, assault, surrender, or takeover. The implemented mechanism stores an explicit owner faction, however, instead of deriving control solely from the commander stationed there.

    src/sim/types.ts
    Partial
  18. An open sandbox without victory conditions

    The simulation has no universal victory trigger. Scenario goals may guide players or player policies, but are not a built-in win condition enforced by mechanics.

    demo-design.md
    Achieved
  19. Factions disappear when no one identifies with them

    The June ending describes a world without stored faction identity. Current factions are explicit scenario/game entities, so that exact disappearance rule has not been implemented.

    src/sim/types.ts
    Not achieved

The build has grown beyond the June outline.

0.25.1 includes a redesigned HUD and HUD editor, shared music controls, multiplayer and War room updates, settlement artwork, and gameplay/account fixes. These are release achievements even though they were not the focus of the founding manifesto.

An explicitly open limitation

The release notes state that globe zoom still falls short of the visible 80 FPS goal; the target remains open. This is a measured performance limitation, separate from the founding design ideals above.

Evidence: release-pinned source

Every status item links to a file in the exact v0.25.1 source commit. The June overview is preserved, but the shipped code and current design take precedence where older documents disagree.

Read 0.25.1 release notes ↗

The game has no victory condition. It is an open sandbox. A faction is “eliminated” when no one identifies with it anymore, and the simulation continues for everyone else.