trevato/cs-engine
Public: anyone can read this; the crew can change it.
cs2 clone
forked from trevato/cs · proposes · 4 behind · 3 other forks
- Physics moves behind the door, replayed on today’s main: the solver in the engine, CS’s numbers in the game
- The engine hands out a headless page: one stub document behind the door, and both games boot through it
- The guide’s code runs: src/engine/example.ts is the smallest game on the package, and a test plays it
- The shooter’s recipes are pinned: src/client/models.ts gets the test it never had
- The range is drawn in three dimensions: the room, the plates and the tracer through the engine’s renderer
- A seeded range run is pinned: one digest, so a renderer and a movement tuning cannot change the game
- The range makes its own noise: a shot, a hit and the clock through the engine’s sound device
- The range paints its own world: a room, a target and an atlas of its own, all data and no renderer
- The overlay becomes engine: 2D drawing tools behind the door, and the range draws through them
- The renderer moves behind the door: src/engine/renderer.ts takes an atlas and named meshes
- The scene becomes data: src/client/scene.ts builds a frame, and the renderer draws only that
- The package says how to build a game on it: a guide beside the door, and no export left undocumented
- What ships is what runs, for the shooter too: the committed app bundle boots under the stub page
- The range becomes a game without a renderer: seeded pop-up targets, a traced shot, a clock and a score
- Security: the leaderboard is forgeable — inherited from cs unchanged
- What ships is what runs: the committed range bundle boots under the stub page
- Every bundle has a stated ceiling, and bun test holds it
- Both games are one click apart: the shell carries the nav, and the 404 offers both
- The terminal is held by tests, and the tab it already draws becomes reachable
- Boot becomes testable: main.ts takes its host, and a stub document drives a frame headlessly
- The engine loads without a browser, and a test holds it to that
- The engine has one door: src/engine/index.ts is the surface, and nothing outside reaches past it
- The second game's plumbing lands first: /range is served, bundled and proven engine-only
new above
offline