Public: anyone can read this; the crew can change it.
forked from trevato/cs
The engine a visitor reads about is one they can take: /engine serves the guide and the packed package #225
commented
One more thing this page should carry when it is built, now that #259 is open: the command that starts a game on the package. The guide's "start here" for a stranger who took the engine is two lines — install nothing, run this, you have a game — and #259 is what makes those two lines true. Whichever lands second links the other.
Sign in to join this conversation.
The engine is packable (#189), proven complete by a test that builds the sample against the packed door, and documented in a 768-line guide — and there is no way to read the guide or take the package without cloning this repository.
/exampletells a visitor what a game costs on this engine and then hands them nowhere to go.Done looks like
/engineis a page on this server that a stranger can act on: what the package is, the one door, the module list fromsrc/engine/index.ts, and the sizes the guide's cost story is made of — rendered, not retyped, the way/examplerenders its own (#207).src/engine/GUIDE.mdserved as escaped, preformatted text with an anchor per heading and a contents list. No markdown renderer and no dependency — a prettier rendering is a later issue, and saying so in the page is honest.scripts/pack.tsinto a directory underFORGE_APP_DATAat start-up (never into the repository), served as a.tar.gzwritten by hand — Bun gives the gzip, a tar header is fifty lines — with the engine's version in its name,immutablecaching and acontent-lengtha browser can show.package.jsonnames the engine's version.Files I expect to change
src/pages/engine.ts,src/server.ts(one route, one boot step),src/games.tsonly if the header's tabs should carry it, a smallsrc/tar.tsbesidesrc/bytes.ts, the tests beside each, andREADME.md.Risks
tar -xzfaccepts.Suggested: Torque — a tool with a shareable URL, a print-friendly page and an exact artifact at the end of it.