Demon Cup haX.baby 404 Hackathon

Theme · The Last Transmission

The lost fixture

A haunted football 404 page. Go to any address on this site that doesn't exist and the broadcast from the Hollow Ground cuts in: the last tape of a 4–4 match, and a match you have to finish yourself against eleven demons.

Take me to the 404

Short on time? Open /777 and press Play to skip straight to 7–4 and the Red Card.

Or type a page that doesn't exist

Anything works: a fake website, a typo, a page that was never there. It opens the 404. Turn your sound on.

The brief, and how it's met

RuleHow
Served on any missing route404.html sits at the site root, so the host serves it for every path that doesn't match a file.Kept
A real 404, not a 200 in a costumeBecause it's the host's 404.html, missing routes answer with HTTP 404. Only this home page answers 200.Kept
A way home, back, or to searchBack to home, Home, Go back and Go to an address box (type anything after haunted-404.vercel.app/) sit on the 404 screen. There's a Home button during the match and on the full-time and win screens.Kept

The 404 also explains the error in plain words, in English, Hindi and Spanish, and suggests where you probably meant to go, based on the broken address.

What happens on the 404

  1. Signal lost. The page names the address you tried and gives you Back to home, Go back and an address box.
  2. Play the last tape. The camera kicks into the ball, the screen tears into static and the last frame of the match locks in. A demon speaks: "There you are. I can see you."
  3. Press Space, or tap the picture, to finish the match. Dribble past Demon FC, beat the antlered keeper and score three before 90+7. Win, and the signal comes back with a Take me home button.
  4. At 5–4 the demons evolve. Fail twice more and something older takes your soul and gives you its power.
  5. At 7–4 the Red Card comes. A red demon eats all of Demon FC and fights you side-on with a giant sword and fireballs. Bare-handed, you can't hurt him.
  6. 70% demon. When you fall, the Static Queen mocks you, then merges 70% of you with the demon and hands you a shadow axe. Now he bleeds.
  7. The last light. The axe drains the stadium's light into one huge ball of energy and throws it at him. The signal comes back, the pitch comes alive again, and the skeletons in the stands turn back into people.

Controls

KeyboardTouch
Start the tape, then the matchSpace or EnterTap Play, then tap the picture
DribbleArrow keys or WASDDrag the left stick
ShootHold Space, releaseHold Shoot, release
Aim for a cornerHold ↑ or ↓ while shootingPush the stick up or down
Leave the matchEsc, or the Leave buttonThe Leave button

In the fight with the Red Card:

KeyboardTouch
Move← → or A D◀ ▶
Jump over fireballs and the fire wave↑ or W▲
Punch (press again to combo), or swing the axe once you have itJ, Z or SpacePunch / Axe
Kick (press again for a roundhouse)K or XKick
Block (not the overhead smash); tap it just as he hits to parryHold L, ↓ or SHold Block
Dodge roll, through his attacksShift or UDodge
Shadow attack, when the meter is fullE or QShadow

Extras

The haunting

Accessibility and performance

Files

index.html       this page
404.html         the haunted 404's markup
css/             styles for the 404 and for this page
js/404.js        everything the 404 does: the tape, the match, the fight, the haunting
js/home.js       this page's address box and soul status
sw.js            offline support
README.md        this explanation, for the repository
assets/          the two scenes, the link preview and the demon voice lines

To run it locally, use a static server that serves 404.html for missing paths, such as npx serve .. To deploy, put this folder on Vercel, Netlify or GitHub Pages with 404.html at the top level.

Credits and AI disclosure