trevato/cs
Split The code is public; the app answers only to the crew.
cs2 clone
- Three modules the README calls tested have no test file: `action`, `models` and `textures`
- A pocket that holds one of each: per-kind grenades, and the rule slot 4 draws by
- The snapshot, as a value: `saved.ts` says what a match is worth keeping, and refuses anything else
- Thirty per cent of rounds end on the clock: bots that feel the round timer
- The map catalogue: a validated `map` setting and a Map select beside Difficulty
- Movement between ticks: interpolate what is drawn, so 64 Hz does not judder at 60
- The ids `main.ts` reaches for are a contract nothing checks
- A cookie jar and four HTML dumps are committed on `main`: `.scout-tmp/` goes, and a test keeps it out
- What the ear is allowed to hear moves out of `main.ts`: a tested `hearing.ts`
- The bundle arrives compressed: 96 KB of JavaScript is 41 KB on the wire
- Players that read as players: legs that swing on the stride the footsteps already count
- Your crosshair: colour, size, gap, thickness and a dot, remembered like the rest
- Who is that: a name over the player you can see, health when they are yours, and a `project.ts` that can place it
- `bun run scripts/cost.ts`: what a tick of the simulation costs, and a guard so it stays that way
- What a frame costs, counted: a draw-call budget the recording GL context enforces
- Nothing type-checks: a strict `tsc --noEmit` in front of the tests, and the sixteen errors it finds today
- A bullet through a crate: penetration a rifle has and a pistol does not
- Radio, part one: three calls from the keyboard, and four teammates who actually go
- The bots have ears: footsteps, a plant and a grenade at their feet pull them round
- The gun says what it is doing: a muzzle flash, a reload you can see, and a raise when you switch
- Radio: three calls the person can make, and four teammates who actually go
- Bind your own keys: WASD is not everyone's WASD
- The buy menu says why you cannot buy it, and moves out of `main.ts` into a tested module
- The geometry nothing tests: `trace.ts` gets its first test, and reports the exit fraction it already computes
new above
offline