ESODSAKE : The Snake That Trolls Me with AI and Burns My Ego



This content originally appeared on DEV Community and was authored by Orbit Snaker

 ## Notes from a dev who crammed everything into one HTML just because
By 0rb1t4lsn4k3r — the guy who hit 420 and regretted it (but came back)

November 04, 2025 — coding with memes o’clock

Index of Technical Madness (in English with dev swagger)

  1. Why the hell a Snake in 2025?
  2. Everything in one HTML: yeah, I’m losing it
  3. 60 FPS even on your grandma’s calculator
  4. AI that learns from my fails (and now beats me)
  5. Every crash = +1 neuron, -1% ego
  6. Levels that generate themselves and make me sweat
  7. Works offline, like my WiFi in the woods
  8. NFT you download with one click (no kidney required)
  9. 1% BURN: losing feels epic
  10. Score 420 → auto-Rickroll (guilty and proud)
  11. Leaderboard on X with no backend (yes, I hacked Twitter)
  12. 10M simulated games: AI is pro, I’m still noob
  13. Roadmap: from meme to token (if I don’t get lazy)
  14. Conclusion: play, crash, laugh, repeat

1. Why the hell a Snake in 2025?

Because I got tired of 300 GB games needing 16 cores.

Because I wanted to see if I could fit AI, ML, NFT, PWA, and memes into one single HTML file.

And because 420 is sacred, period.

Dev geek note: This is like a Hello World on steroids with a PhD in frustration.

2. Everything in one HTML: yeah, I’m losing it

  • Final size: 45 KB (yes, lighter than an HD meme).
  • Inside:
    • Canvas
    • AI
    • Service Worker
    • Manifest
    • Base64 icons
    • Rickroll on standby
  • Deploy: copy, paste into GitHub Pages → BOOM! Game live.
  • Works on: airplane mode, subway, zombie apocalypse.

Dev geek note: If it doesn’t fit on a floppy, it’s not retro enough.

3. 60 FPS even on your grandma’s calculator

  • Canvas 2D (no WebGL, no flexing).
  • requestAnimationFrame like a ninja.
  • Tested on:
    • iPhone 6 (yes, 2014)
    • 1 GB RAM Android
    • My cousin’s Windows XP rig
  • CPU: chiller than me on a Sunday.

Dev geek note: 60 FPS stable = my definition of smooth criminal.

4. AI that learns from my fails (and now beats me)

  • Model: perceptron with 4 weights and a bias (no TensorFlow, pure JS).
  • Eats:
    • Head position
    • Current score
    • A dash of chaos (Math.random())
  • Decides: where to spawn food so it doesn’t kill me… or does, to troll me.

Dev geek note: At first, food spawned inside me. Now it does pathfinding like a boss. Skynet starts here.

5. Every crash = +1 neuron, -1% ego

  • On crash:
    1. score = floor(score × 0.99)
    2. AI trains on my epic fail
    3. aiLevel++
    4. Screen message: “1% BURNED (ego: -1%)”
My crashes AI Level Avg Score
0–100 1.0 38
100–1K 1.7 55
1K–10K 2.1 68
10M 2.85 73

Dev geek note: The AI already plays better than me. I am become noob, destroyer of highscores.

6. Levels that generate themselves and make me sweat

  • Living seed: the AI model decides food placement.
  • Ninja difficulty:
    • Low score → food nearby
    • High score → food in Narnia
  • Replayability: infinite. Every game is a roguelike in disguise.
  • No assets: everything rendered on the fly.

Dev geek note: The level isn’t designed. It’s evolved.

7. Works offline, like my WiFi in the woods

  • Inline Service Worker: caches everything on first load.
  • Embedded Manifest: icon, name, app vibes.
  • Installable: “Add to Home Screen” → feels like a native app.
  • Total offline: play in the bathroom, on a plane, during the apocalypse.

Dev geek note: Internet is optional. Like coffee, but more important.

8. NFT you download with one click (no kidney required)

  • Format: SVG with your snake, food, score, and AI level.
  • Size: 2–5 KB (lighter than a GIF).
  • Mint: click → download → esodsake_score_420_ai_2.svg.
  • Auto-tweet: shares on X with #ESODSAKE.
  • 0 gas, 0 wallet, 0 excuses.

Dev geek note: NFT without blockchain = web3 for the broke (and smart).

9. 1% BURN: losing feels epic

  • Mechanics: every crash → lose 1% of score.
  • Effect:
    • Hurts
    • Motivates
    • You come back
  • 10 crashes in a row = ~9.6% lost.
  • Message: “1% BURNED (ego: -1%)”

Dev geek note: Burn isn’t punishment. It’s gamified suffering.

10. Score 420 → auto-Rickroll (guilty and proud)

  • Trigger: score ≥ 420.
  • Action:
    • Rick Astley on autoplay
    • “LEGEND UNLOCKED”
    • Saved in localStorage
  • In 10M sims: ~2.8M rickrolls.
  • Side effect: 1 rickroll = 1 tweet = 1 viral.

Dev geek note: Never gonna give you up… your highscore.

11. Leaderboard on X with no backend (yes, I hacked Twitter)

  • Trick: every 30s, search #ESODSAKE on X via proxy.
  • Data: pull scores from tweets.
  • Leaderboard: top 3 shown in-game.
  • 0 servers, 0 APIs, 0 issues.

Dev geek note: X is my database. Elon, don’t ban me.

12. 10M simulated games: AI is pro, I’m still noob

Metric Result
Games 10,000,000
Avg Score 73
Max Score 563
420+ ~2.875M
Rickrolls ~2.8M
Crashes ~9.72M
Final AI Level 2.85

Dev geek note: The AI has more hours than me in LoL. And it wins.

13. Roadmap: from meme to token (if I don’t get lazy)

Q Plan (if I get up)
Q1 $SNAKE token (mainnet)
Q2 PvP AI vs AI (tournaments)
Q3 Mobile app (Capacitor)
Q4 Levels in metaverse

Dev geek note: Roadmap = stuff I’ll say I’ll do tomorrow.

14. Conclusion: play, crash, laugh, repeat

Pillar My Verdict
Tech 1 file, 0 hassle
Addiction Burn + AI = can’t stop
Viral 2.8M rickrolls don’t lie
Cost 0 euros, 0 servers
Future Open source = immortal

Final dev geek note:

You don’t need a 50-person team.

Just one HTML, one coffee, and a desire to troll the world.

Copy. Play. Crash. Mint. Share.

And if you hit 420… you know what happens.


bash
open index.html → #ESODSAKE


This content originally appeared on DEV Community and was authored by Orbit Snaker