A playable zombie-horde first-person shooter that fits in 4,872 bytes. Built from scratch in x86 assembly, running right here in your browser.
Loads a DOS emulator in your browser. Best on desktop.
The record it targets
That green sliver is the whole game. It is about 20 times smaller than the current Guinness World Record for the fewest bytes in a first-person shooter, and smaller than the average email signature.
What is in there
A real level of rooms and corridors, perspective floor casting with a tiled ground, brick-textured distance-shaded walls, and mouse look. Drawn a column at a time.
Zombies spawn in the far rooms and path through the corridors to find you via a flood-fill distance field. Brutes fire dodgeable projectiles from range, and red edge markers grow as off-screen threats approach.
Pistol, shotgun, and SMG, each with its own fire rate, damage, sound, magazine, reload, and gun. A top-left readout shows the weapon and live ammo count. Plus fog-shaded enemies, recoil, blood, and endless waves.
The sine and cosine tables, the map, and the color palette are all generated at startup, so almost none of it costs a single byte on disk.
How it stays this small