A classic snake game with a time-traveling twist — go back in time after game over by paying a small bitcoin lightning fee.
- Two modes — Normal (classic snake) and Enhanced (walls appear, bonus food)
- Back in Time — Rewind your game after game over for 100 sats/step via Lightning
- Wall Breaker — In Enhanced Mode, smash through walls with 🔥 (press X)
- High scores — Save and view your best scores across both modes
- Particle effects — Fire particles and explosion sparks
- No downloads — Runs entirely in the browser, no sign-up required
- Choose a mode — Normal or Enhanced from the welcome screen
- Play snake — Eat food to grow longer, avoid walls and yourself
- Game over? — Click "⏪ Back in Time" to rewind
- Pay & Rewind — Enter steps, pay via Lightning (100 sats per step), and watch your snake travel back through saved states
- Resume playing — A countdown starts and you continue from the chosen moment
- Frontend — Vanilla HTML, CSS, JavaScript
- Payments — Lightning Address (LNURL) + Bitcoin Connect SDK
- Scores —
localStoragepersistence - No dependencies, no build step
Open index.html in a browser to play locally. Run with any simple HTTP server:
npx serve .See AGENTS.md for detailed project documentation.