Hugo Hismans
FR

Back to the atlas

Screenshot of Die and Relight on desktop
Screenshot of Die and Relight on a phone

HH·014GamesFinished5 Apr → 10 Apr 2026152 commits

Die and Relight

Guide the spark through the circuit: die, relight, try again

A ball of electricity races along the wires: open and close switches with Q and P, hammer Space to get through resistors, and the slightest short circuit sends you back to the start. Born as ElecGame in the lesupslab lab, the project became an online game on its own domain, with three campaigns, a survival mode, mirror and blindfold modes, a level editor and player-made levels. On top of that come a Hall of Fame and a cosmetics shop paid in VoltBucks.

What shines

  • A real community game: Google sign-in, Hall of Fame by version and difficulty, 37 achievements, VoltBucks leaderboards, profiles with emotes, ball skins and wallpapers
  • Full level editor (nodes, wires, Q/P switches, resistors, inductors, microprocessors, teleporters) and player level submissions; several campaign levels are signed by community members (KetaKoala, Frigolite)
  • Backend secured by a Cloudflare Worker: it verifies Firebase tokens and is the only part allowed to credit currency, validate purchases and sync leaderboards, with Vitest tests
  • Difficulty variants: mirror (Q↔P), blindfolded, 3-life survival with consumables (heart, fuse, dimmer) and replays
  • Neon circuit-board look: PCB grid, floating electrons, scanlines, glitched title, victory flash and fireworks at the end of a campaign

How to use it

Pick a campaign, hold Q and P to flip the orange and purple switches at the right moment, and hammer Space on resistors; touch buttons on mobile, gamepad supported.

Made with

  • HTML/CSS/JavaScript sans framework
  • Canvas 2D
  • Web Audio API
  • Firebase Authentication (Google)
  • Firebase Realtime Database
  • Cloudflare Workers (Wrangler)
  • Vitest (tests du Worker)
  • Gamepad API
  • localStorage
  • GitHub Pages + domaine personnel
  • SEO (JSON-LD, Open Graph, hreflang, sitemap)

Previous versions