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
- A member of a room is the engine's: the socket, the clock and the four sentences stop being the shooter's
- One AudioContext fake, behind the door: the sound device's test double stops being written three times
- One GL recorder, behind the door: the renderer's test double stops being written four times
- The bytes a frame is made of are the engine's: a bounds-checked cursor and a packed angle behind the door
- The hub becomes the engine's: a room of any game is opened, stepped, swept and capped by one module behind the door
- src/rooms/ is held by this repository's own rules: four modules, four test files, and one line that says whose the directory is
- The page's end of a room is pinned before anything moves it: src/client/session.ts gets the test file its docstring already claims
- A room's result counts: the server writes the match it stepped, under the identity that joined
- Your own body stops waiting for the network: your movement is predicted and reconciled against the server's word
- A room is a link you send, and your friend lands on your side
- probe
- Take updates from trevato/cs
- Crisp at 125%: a fractional device pixel ratio keeps the crosshair centred and the HUD sharp
- A bug report has something to paste: one copyable line of what this browser is doing, and a boot that fails in words rather than a black canvas
- The whole mouse binds like a keyboard: the wheel and the side buttons, and a browser that stops navigating when you press one
- The mouse is the mouse the OS has, not the one Windows adjusted: raw pointer movement, and a lock whose answer is read
- buggy on windows. tried playing with a mouse and keyboard on windows in edge…
- Your friend's shots land: a member's input reaches the room's world, and your own body does not wait for the round trip
new above
offline