Firebird DOOM

Every game tic is a PSQL procedure. Every frame is a SELECT. Firebird 6 runs in WebAssembly in a Worker in this tab.

Loading…
 
Demo Saves Firebird
Keys

DOOM's ten keys from default.cfg, two to each: click one and press the new key (Esc leaves it as it was, Backspace leaves it empty). A key does one thing, so taking it here takes it from wherever it was. Remembered in this browser.

Play over the network — co-op or deathmatch, up to four players, peer to peer

Everyone loads the same WAD. The host presses Invite a player and sends the code to a friend (chat, e-mail…); the friend presses Join, pastes it and sends back the reply; the host pastes the reply and presses Connect. Invite up to three, pick the game, then Start: the host's map and skill. Only each player's keys cross the wire, and every browser's Firebird plays the same game from them (lockstep, as DOOM did over IPX). With a Relay, the invite is a six-letter room code, there's no reply to send back, and its TURN servers connect players whose networks won't let them meet.

Click the view to capture the mouse · WASD / arrows move · Ctrl or click fire · right button held strafes, middle button walks, a double click on either uses · Space/E use · Shift run · 1–7 weapons (1 again: chainsaw, 3 again: super shotgun) · Esc menu · Tab map (IDDT on it reveals all) · type IDDQD, IDKFA, IDFA, IDCLIP, IDCHOPPERS, IDBEHOLDx, IDMYPOS, IDMUSxy or IDCLEVxy to cheat · P pause (in a netgame, for everyone) · T chat in a netgame (G/I/B/R to one player, Alt+0–9 the macros) · M audio on/off · a gamepad is DOOM's joystick (stick or d-pad; A fire, B strafe, X run, Y use). On touch screens the left half moves, the right half turns, and a tap fires.

SQL console — the live game database

Ctrl+Enter

    

How it works

Inspired by CedarDB's SQL DOOM and DOOMQL, and by DuckDB-DOOM. The engine is Electric Firebird (firebird-wasm). The game data is Freedoom. DOOM is a trademark of id Software.