A small browser game. Flap between pipes; die; get a rotating headline about it.
Play: https://commie-bird.pages.dev/
One self-contained HTML file. No dependencies, no build step, no framework,
no analytics, and no network requests of any kind — the page declares
Content-Security-Policy: default-src 'none', so it cannot phone home even if
someone edits it later. Scores live in a JavaScript variable and go nowhere.
Everything is drawn on a <canvas> and every sound is synthesised with Web Audio
oscillators, which is why there are no image or audio assets to ship.
The theme is Solidarity Forever, words by Ralph Chaplin (1915), set to the John Brown's Body / Battle Hymn of the Republic tune (William Steffe, c.1856).
Only the melody is used — the words are not reproduced anywhere in this project.
Pitches and durations were transcribed from a MusicXML lead sheet rather than by
ear: G major, 4/4, 17 measures, 84 events, 64 beats. Written an octave above the
score so a square-wave lead is not muddy. If a note sounds wrong, TUNE is the
only thing to edit.
Sound and music both default to off.
Open index.html. That is the whole procedure — it works over file:// with no
server. To host it, drop the file on any static host.