A fan made tower defense game for the Optimum community. Hire the Optimum crew, crack coded armor with independent shards and take the validator mesh from Hoodi Testnet to Mainnet across ten campaign stages, learning how Optimum works along the way. Speed is money.
Not an official Optimum product. Play it at gossipsiege.xyz.
Coded enemies wear a shield with k segments. It only breaks after hits from k different crew members, the same way a block coded with Random Linear Network Coding only decodes once k independent shards arrive. Repeat hits from one tower are redundant copies. Muriel, the Recoder, remixes the shots of nearby crew so every hit counts as new, like an RLNC relay recoding shards without decoding them.
Every enemy is a piece of network waste or a threat Optimum's design answers. Lag Slug (latency), Packet Gremlin (packet loss, blinks forward), Dupe (Gossipsub's full copies, in swarms), Bandwidth Hog (armored, splits on Blob Season), Eclipse Phantom (invisible until Nancy or a hit reveals it), Spam Bot (jams the nearest crew member for a moment unless that crew member sits inside Nancy's rate limit), Stale Block (its bounty shrinks the further it gets, like a block that misses the attestation deadline), Rebroadcaster (drops a fresh Dupe behind it every few seconds, like a Gossipsub peer forwarding whole copies), Blob Carrier (always coded, three validators if it leaks, EIP 4844 blobs) and the Gossip Blob boss. Coded groups appear from wave 5 on every stage.
Ten stages. Clearing one unlocks the next. Each stage has its own map and look and adds one rule taken from a documented Optimum idea. Stars depend on validators left: 18 or more for three, 10 or more for two.
| # | Stage | Waves | Rule | Optimum idea |
|---|---|---|---|---|
| 1 | Hoodi Testnet | 12 | none, learn the crew | rollout on Ethereum's Hoodi testnet, about 150 ms average block propagation |
| 2 | Copy Storm | 14 | Dupe swarms 2.5x larger | Gossipsub forwards full copies; mump2p claims 90 to 95% less bandwidth |
| 3 | Shard Threshold | 15 | every enemy coded into 4 shards, shield opens at 75% | shard factor 4, threshold 0.75 |
| 4 | Blob Season | 16 | Hogs burst into 3 Dupes, shields need one more shard | blobs; Gossipsub failed at 4 MB in A/B tests, mump2p carried 10 MB |
| 5 | Mesh Limits | 17 | at most 12 crew, +15% fire rate from 6 crew | mesh target 6, min 4, max 12 |
| 6 | Subsea Cable | 18 | lossy stretch drops 30% of plain shots, coded shots survive | RLNC loss tolerance, Flexnode coded buffers |
| 7 | Flexnode Grid | 19 | Flexnode pads: +25% fire rate, every shot coded | Flexnodes encode, decode and recode RLNC frames |
| 8 | The Gateway | 20 | all enemies coded from wave 6, every hit past the Gateway is coded | Optimum Gateway bridges Prysm, Lighthouse, Nimbus, Teku and Lodestar with no client changes |
| 9 | Stress Test | 22 | the route is the Optimum infinity mark; twice the enemies, lighter, half bounty | about 10x lower latency under high traffic and zero loss in A/B tests |
| 10 | Mainnet | 25, then endless | leaks cost coins, early waves pay double | speed is money |
Every day at 00:00 UTC the title screen offers one daily challenge: a fixed stage, a fixed seed (same waves for everyone) and one modifier that changes a rule for that run only. The modifier rotates through seven: Copy flood (dupe swarms doubled), No bank (Kent is unavailable, kills are the only income), Thin wallet (starting coins at 60%), Fast lane (enemies 12% faster), Ten validators (ten lives), All coded (3 shard shields on everyone from wave 3) and Heavy traffic (half again as many enemies, each lighter). Each modifier only visits the stages where the simulated players still clear it, so no daily is a wall. Daily runs give no stars and do not unlock stages; they have their own board that resets with the day and can be played again as often as you like, best score counts.
The weekly board adds up each player's best score per campaign stage since Monday 00:00 UTC, so a new player can top it with one strong week.
The seven heroes are named after the Optimum team, and every stage has a guide from the team. Sources: getoptimum.xyz/team, getoptimum.xyz/blog, the OptimumP2P paper (arXiv 2508.04833) and the public getoptimum GitHub repos. The game only states public facts about them and invents no quotes.
| Hero | Role | Named after |
|---|---|---|
| Kishori | Encoder | Dr. Kishori Konwar, co-founder |
| Jeff | Flood Breaker | Jeff (@blockchainjeff), community manager |
| Nancy | Throttle | Prof. Nancy Lynch, advisor |
| Swarna | Long Haul | Swarnabha Sinha, OptimumP2P paper co-author, author of the Hoodi 6x latency analysis |
| Muriel | Recoder | Prof. Muriel Médard, co-founder and CEO, co-inventor of RLNC |
| Sajida | Flexnode Bank | Sajida Zouarhi, author of the PBS hot path research, co-author of the staking revenue study |
| Sriram | Decoder | Prof. Sriram Vishwanath, advisor |
Community: Pegasus, the Discord mumbassador, is the in game coach and quiz host. Flash, who assigns roles in the Discord, grades the campaign and assigns the Discord roles from stars and learned answers: Optimum Newbie, Observer (3 stars and 3 answers), Refined (9 stars and 10 answers), then at 21 stars and 25 answers either Optimized (stars lead, the active players) or Chronicler (knowledge leads, the creative ones); the role goes on the share card.
Stage guides: Nicolas Nicolaou (Hoodi Testnet), Aayush Rajasekaran (Copy Storm), Onyeka Obi (Shard Threshold), Aleksandr Bezobchuk (Blob Season), Har Preet Singh (Mesh Limits), Santiago Paiva (Subsea Cable), Michael Meier (Flexnode Grid), Alejandro Bergasov (The Gateway), Prof. Sriram Vishwanath (Stress Test), Moritz Grundei (Mainnet).
Before each stage a three question briefing on that stage's topic pays starting coins. During play, every second wave a question appears while the battle slows down. Answer within 15 seconds for a reward that rotates between coins, a free Flexnode Surge, a recharged Publish Burst and extra validators; faster answers pay more and three right in a row doubles it. Every answer shows a short explanation and its source. Question order: a missed question comes back first (two questions later), then questions never seen, with the stage's own topic ahead, then known questions when they fall due (the Leitner method behind apps like Duolingo, waiting longer each time). A player sees all 506 questions before any known one repeats. The Optimum knowledge screen shows every learned answer and mastery per topic. The question bank (506 questions) lives in src/quiz.js, and every question cites its source: getoptimum.xyz and its blog, the Optimum docs, the optimum-gateway and mump2p-cli repositories, the OptimumP2P paper, ethereum.org, the libp2p Gossipsub specifications or Wikipedia for coding theory background, and carries the date it was last checked. The 406 questions added in October 2026 were each written against a verbatim passage of their source and checked mechanically, then reviewed by a second pass for ambiguity and distractor quality. Claims that can change (numbers, roles, product status) are flagged vol: true and re-checked first by a weekly refresh task.
Each stage has its own leaderboard. Difficulty is tuned against three simulated players on the real engine: a casual one (random pads, one purchase per wave), a smart one (pads ranked by route coverage, upgrades the busiest hero first) and the smart one answering the quiz. The target ramp: Beginner stages are cleared by everyone, Intermediate stages cost the casual player lives, Advanced stages need smart placement, Expert stages need smart placement plus quiz boosts, and Mainnet needs level 4 specializations on top (node src/bot.cjs [stage] for the optimized bot).
Select a crew member (or hover one on an empty pad) and the map shows what works with what: cyan lines to the crew inside a Recoder aura, green lines to the crew a Throttle shields from Spam Bots, and dashed lines to every other crew member covering the same stretch of road, with a label counting how many independent shards a coded shield can collect there. A lone tower on a stretch is called out in red, because a coded shield never cracks from one source.
Campaign stars add up to three cosmetic badges: Mesh Builder at 10, Mesh Keeper at 20, Perfect Mesh at 30. A badge shows next to the player name, tints the rim of every pad, and the stage select says how many stars the next one costs. Nothing in play changes.
Every crew member has four levels, the Kingdom Rush pattern. Levels 1 to 3 raise damage, fire rate and range, and the weapon visibly grows: bigger, brighter projectiles with longer trails, more shards per volley, shoulder pads, then a halo. At level 4 each crew member picks one of two specializations with a completely different weapon and gets a cape and crown in its colour.
| Crew | Level 4 A | Level 4 B |
|---|---|---|
| Kishori, Encoder | Fountain Coder: every shard counts as independent | Railshard: pierces 6 enemies, ignores armor |
| Jeff, Flood Breaker | Cluster Flood: blasts split into 4 bomblets | Firewall: leaves a burning zone on the path |
| Nancy, Throttle | Rate Limiter: every 4th pulse freezes | Peer Scoring: marked enemies take +35% damage |
| Swarna, Long Haul | Global Relay: map wide, 40% triple crits | Shrapnel Lance: bursts into 6 fragments |
| Muriel, Recoder | Mesh Amplifier: bigger aura, +85% crew speed | Chain Recoder: zap chains across 5 enemies |
| Kent, Flexnode Bank | Validator Fund: 150 rent per wave (each extra Kent pays 60% of the one before) | MEV Hunter: throws gold, +3 coins per kill nearby |
| Sriram, Decoder | Decode Ray: the beam burns through a line | Twin Decoder: two beams, decodes below 30% |
Upgrade buttons show every stat as "now → next" before you buy, and each damage dealing crew member has a target priority (First, Last, Strong, Close).
src/stages.js campaign stages: routes, pads, rules, difficulty
src/quiz.js Optimum question bank with sources
src/i18n-quiz-tr.js Turkish text for every question, keyed by question id
src/i18n-content-tr.js Turkish text for stages, crew, enemies and the tutorial
src/core.js game rules, waves and combat (no DOM, deterministic)
src/game.html rendering, UI, audio, leaderboard client
src/bot.cjs balance bot: node src/bot.cjs
public/ static files (favicon, link preview image)
netlify/functions/leaderboard.mjs leaderboard API on Netlify Functions + Netlify Blobs
scripts/build.mjs builds dist/index.html plus a content hashed game-<hash>.js from src/ and checks every script parses
test/ API tests and a local dev server
| Route | Method | Purpose |
|---|---|---|
/api/run |
POST | Signed run ticket, requested when a run starts |
/api/scores?stage=n |
GET | Top 50 of a stage (1 to 10), best score per player name |
/api/scores?stage=all |
GET | Overall board: each player's best score per stage added up, with the number of stages scored |
/api/scores?stage=daily[&day=YYYY-MM-DD] |
GET | Today's (or a given day's) challenge board with the stage it ran on |
/api/scores?stage=week |
GET | This week's board: best per campaign stage since Monday 00:00 UTC, added up |
/api/scores |
POST | Submit a finished run (with its stage, or stage: "daily" plus its day); needs the player's name and device key |
/api/register |
POST | Claim a player name; returns the device key that signs that name's posts |
Player names live on the game's own server: a name is claimed once (3 to 15 letters, digits or underscores), the device that claimed it gets a secret key kept in its local storage, and only posts carrying that key count for that name. A player who changes device picks a new name; the old scores stay on the board. Once a name is saved every finished run is posted automatically, and the Overall tab adds up each player's best per stage. On top of that: a server signed ticket per run, a minimum real play time per wave, a score ceiling derived from the game's own scoring, one ticket per run, and a short rate limit per client for posts and registrations.
- Import this repository in Netlify (Add new site, Import an existing project, GitHub).
- Build settings are read from
netlify.toml; nothing to change. - Deploy. Netlify Blobs needs no setup, and the leaderboard generates its own signing secret on first use. Setting
RUN_SECRET(16+ random characters) in the environment variables is optional and overrides it.
npm install
npm test # API tests
npm run build
node test/devserver.mjs # serves dist/ and the API on http://localhost:8787
The game runs in English or Turkish. The first visit follows the browser language; the TR / EN button on the title screen and in the HUD switches at any time, including mid run, and the choice is kept on the device. Everything a player reads is translated, including the stage rules, the crew cards, the tutorial and all 506 quiz questions with their explanations. Share text, the score card and X posts stay in English so the community reads one language on X.
A day and night switch sits in the HUD and on the title screen; the first visit follows the system setting. On phones in landscape the HUD, quiz and menus grow so they stay readable and tappable; portrait shows a rotate prompt. Android and tablets get a full screen button, and iOS can add the game to the home screen.
Found a bug or have an idea? Write to @ekinoks_26 on X or open an issue here. A short note with the stage, the device and what you expected is enough.
The game code and text are MIT licensed (see LICENSE). Optimum, the Optimum mark and the Optimum mascot belong to Optimum.