Frontier Studio: One Simulation, Three Views, and a Reveal That Rewards Exploration
Frontier Studio is a workshop and engine for creature-collecting adventure games in which how well a place is known is how it looks: unexplored ground is coarse, misty and gray, and exploring it brings resolution, clear air, one color, the whole spectrum and last a metallic sheen. The same world can be played from above in a retro top-down view, from behind the player in a chase view, and from the ground in a first-person view, and the player may switch at any moment. This paper states the architecture that keeps two promises checkable: the views never disagree about the world, and every picture and sound agrees about how known a place is. The design has three parts. One simulation advances the game in fixed steps and is the only writer of the state. Three views only read that state. One function, the reveal, turns a single exploration number per tile into the appearance of every drawn thing and the sound under the player. The paper gives each part as formal statements, 49 in all: definitions of the state, the step, the views and the reveal, invariants of the reveal, and propositions about layering, determinism, replay and capture, each tied to the file that enforces it and the test that checks it, with what the test does not show stated beside it. 12 diagrams drawn from the source show the structure. The source is 228 TypeScript files in 18 layers whose imports a gate enforces; 12 of the layers run in Node without a browser, so tests draw all three views and compare them. The studio names no game: a game is a folder, 4 ship with the repository, one of them with no battles, and 3 skeletons start new ones. A game tunes its rules, difficulty presets, frame sizes and look as data, and an exported game, or the public static site, plays from a link on a phone too, with saved games, a party, bag, index, journal and storage, settings and a text channel for a screen reader, and offline once loaded. The evidence is stored beside the code: recordings replayed to state digests, 60 golden frames, a parity test over at least 1000 random states, a slow reference renderer that the fast one must match byte for byte, and a gate of 17 checks that runs on a clean export of a commit. We also report what the evidence does not show. All three views meet their frame budget on a fully explored scene and exceed it on a partly explored one, parity and the reveal's ordering are tested and sampled, not proved, and determinism rests on arithmetic that the language fixes, tested by swapping the engine's own functions for wrong ones but run on only one real engine. Every number in the paper is computed from the repository. The games are playable in a browser at https://docxology.github.io/Frontier_Studio/. The companion volume for players, The Frontier Handbook, is archived at https://doi.org/10.5281/zenodo.24690127.
Authors
- Daniel Friedman (ORCID: https://orcid.org/0000-0001-6232-9096)
- Pru Mendez
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24690125
- Primary Topic
- Artificial Intelligence in Games
- Type
- preprint