# Cordon > Cordon is a free first-person shooter that runs in the browser on a hand-written WebGPU renderer (TypeScript, no game engine, no Three.js at runtime). Every mesh, texture, sound and piece of music is generated in the browser; nothing but the page is downloaded. Open source (MIT) by chaxus (https://chaxus.com/). Play: https://cordon.chaxus.com/ — needs a browser with WebGPU (recent Chrome, Edge, Safari or Firefox). Works with mouse and keyboard, gamepad, or touch (phones in landscape or portrait). Can be installed as a PWA. ## The game - Three missions in a rainy harbour, played in order: the North Spur railyard (take the gate keycard, hold the gate panel while it charges), the North Basin harbour office (shut down three beacons) and Pier 9 (cut two power feeds, destroy the signal mast's cores, then escape to the boat against the clock). Each ends at an exit that leads to the next. - Enemies come in waves: spotters on high ground, lurchers on the ground. - Five weapons with fictional names modelled on well-known guns: an AK-pattern rifle, an MP5-pattern SMG, a pump shotgun, a Glock-pattern pistol and an AWM-pattern bolt-action sniper with a scope. - Ammo boxes and medkits are marked in the world and taken with the use key. - Eight UI languages: English, 简体中文, 日本語, Español, Português, 한국어, Deutsch, فارسی. ## Controls - Keyboard and mouse: WASD move, mouse look, left button fire, right button aim, R reload, E use / take, Space jump, Shift sprint, C crouch, F melee, 1–5 or wheel switch weapons, Esc pause. Keys can be rebound in Settings. - Gamepad: standard layout (Y is use, D-pad right / down switch to the next / last weapon). - Touch: left thumb moves, right thumb looks, on-screen buttons for fire, aim, reload, jump and use; tap a weapon in the weapon strip to switch. - Settings: quality preset (low to ultra), sensitivity, field of view, invert Y, aim assist (off by default), radio voice, accessibility (high contrast, reduced motion). ## Technology - Hand-written WebGPU renderer: physically based lighting, image-based lighting with per-building interior probes, cascaded soft shadows, planar reflections on wet ground, procedurally baked materials, HDR post-processing, MSAA, dynamic resolution and automatic quality steps. - Procedural everything: buildings, props, weapons, hands, materials, sound effects and a dynamic score. - Service worker for instant repeat visits and offline play of the cached build. ## Source - Repository: https://github.com/chaxus/cordon - README: https://github.com/chaxus/cordon#readme - Agent orientation (architecture, layering, rules): https://github.com/chaxus/cordon/blob/main/AGENTS.md - Engineering notes for every change: https://github.com/chaxus/cordon/tree/main/changelogs ## Author chaxus — https://chaxus.com/ — https://github.com/chaxus