

Q1K3
A full Quake-style FPS in 13KB: Q1K3 packs two levels, five enemies and three weapons into less space than a Word doc.
Q1K3 is PhobosLab’s 13 kilobyte Quake-style shooter, rendered at 320 by 180 in WebGL. Two levels, three weapons and five enemy types fit inside the size of a small image file. This guide covers the start screen settings, the keyboard bindings the code actually listens for, how weapons and ammo behave, and the key-and-exit rule that ends each level.
The page loads a single canvas and a line of text that reads CLICK TO START. Below the canvas sit three controls that matter more than they look: a MOUSE SPEED slider, an INVERT checkbox for the vertical axis, and a FULLSCREEN button. The slider runs from 1 to 50 and starts at 10, and it scales raw mouse movement before the camera uses it, so a low value is not slower aiming so much as finer aiming.
Set the slider before the first level rather than during it. The game reads mouse movement on every frame and multiplies it by the slider value, so changing it mid-fight with the pointer locked to the canvas means releasing the pointer, dragging the slider, then clicking back into the canvas to resume. The INVERT box flips the vertical axis only, which is the common flight-stick convention rather than a full axis swap.
The input handler maps a small set of key names to action slots and looks each key up by a character in the key code. That lookup is why both the letter row and the arrow cluster work without a settings menu: W and Arrow Up resolve to the same action, and the same pairing holds for the other three directions.
There is no crouch, no sprint and no reload key in the build. The entire movement vocabulary is four directions and a jump, which is part of how the game fits in 13 kilobytes.
The player class carries a weapon list that starts with one entry and grows as you pick up more, up to three in total. Switching is a single index into that list, moved by Q, E or the mouse wheel, so the slots are ordered rather than freely selected. The HUD prints the current weapon ammo next to the health number.
One of the three weapons in the build is a spread gun: its fire routine spawns eight projectiles in a single shot with a small random offset on each, which is why it clears a corridor at close range and wastes most of the pellets at distance. The other slots fire single projectiles. Weapons that never run dry print an infinity symbol in the ammo field instead of a number, and the number field decrements only for the weapons that carry a count.
Because switching is instant and independent of ammo, the practical rotation is to open with the spread weapon at close range and swap to a single-shot weapon for anything across the room. The wheel is faster than the Q and E keys for a two-slot swap, and Q and E are faster when you need to skip past the middle slot.
The player starts a run with 100 health and the HUD prints the value as a whole number. Anything that damages the player subtracts from that pool and kills at zero, at which point the game prints YOU DIED, blanks the counters and reloads the current level after a two second pause. The reload is a straight restart of the level rather than a checkpoint, so a death late in a level costs the whole level.
That restart rule is the reason to treat the first room of each level as a rehearsal. Enemies in Q1K3 are placed rather than spawned in waves, so the same room opens the same way every attempt, and the damage you took on the previous run is information you can act on immediately.
Each level ends at an exit that will not open without the key. Walking into the exit before you have it prints YOU NEED THE KEY... and the exit stays shut. The key itself is a separate pickup, and collecting it prints YOU GOT THE KEY! and removes the key object from the level. Both messages come from the same message element that shows the death screen, so they replace the HUD temporarily rather than stacking.
The two-level structure is the whole campaign. Reaching the end screen sets the level counter past the last level and shows the closing card, which is why there is no level select and no way to replay a single level from the menu: a fresh load starts at level one.
The page ships as a single packed script that reconstructs its own source at runtime, plus two small binary files that hold level and model data. Weapon names, enemy names and the exact damage of each projectile are not present as readable strings anywhere in the package, so this guide does not invent them. What is readable is the input map, the 320 by 180 canvas, the 100 health start, the eight-pellet spread shot, the two second restart delay and the two message strings that gate the exit.
The public description adds the rest of the official feature list: five enemy types, three weapons, compressed textures, dynamic lighting, music and sound inside the same 13 kilobyte budget. Music is credited to no-fate.net and the code to phoboslab.org, both linked from the start screen. For a size comparison, the entire game is smaller than a single screenshot of most browser games at this resolution.
Press Q or E, or roll the mouse wheel. Both move the same weapon index, so the wheel and the keys are interchangeable.
100. The HUD prints the integer value, and the run ends when it reaches zero.
The exit only opens after you pick up the level key. Walking into it early repeats the message instead of opening the door.
It scales raw mouse movement before the camera applies it. The range is 1 to 50 and the default is 10, so a low setting gives finer aim rather than slower movement.
Two. Finishing the second one shows THE END with THANKS FOR PLAYING, and a reload starts again from level one.
The level restarts after a two second pause, and there are no checkpoints inside a level, so the cost is everything since the level began.
No. The whole game is 13 kilobytes and runs from the page, with no install and no account.











