When we launched Minellion Games — a free, zero-login browser Minecraft 1.21+ reverse-trivia game where rarer answers dig deeper toward Y-64 Bedrock — players immediately jumped into our Daily Dig and Unlimited modes.
Within 48 hours of launching, our first 1,622+ real answer submissions taught us two hard product lessons:
- Players want a multiplayer party feel even when playing solo at 1 AM — nobody wants to sit in an empty WebSocket matchmaking lobby waiting for 3 strangers to join a browser trivia game.
- Real mobile visitors will instantly expose browser compatibility bugs that desktop Chrome hides — two subtle JS features broke entire game sessions on older iOS Safari and older Chrome builds.
Here is how we solved both without adding React, WebSockets, or LLM APIs, and how we open-sourced the core engine in sunrain113/minecraft-trivia-bot-engine.
1. Why We Built Zero-LLM Local AI Bots for Creeper Party
Our hot-potato party mode, Creeper Party, works like a ticking bomb: a Minecraft prompt appears, you have 10–15 seconds to name a valid unused entity, and passing the bomb shrinks the fuse.
Originally it was pass-and-play only. We wanted players to open /creeper-party alone and immediately jump into a 4-player ring — plus still support local Pass & Play and zero-login Shareable Friend Duel links (?duel=...).
Calling an LLM API for each bot turn sounded clever on paper, but failed every real constraint of a fast browser game:
- 1.5–4s network latency ruins a 9-second fuse countdown.
- Entity hallucinations break strict tag rules (like 1.19–1.21 blocks or max-stack-1 unstackable items).
- Rate limits & API keys don't belong in a 100% free, account-free browser game.
Instead, we designed 5 distinct Minecraft-archetype bot personas that run locally in under 1 millisecond against our structured /_d/trivia/* JSON catalog:
| Bot Persona | Archetype | Specialty Categories | Weak Spots | Typing Pace | Rarity Bias |
|---|---|---|---|---|---|
RedstoneBot |
Methodical Engineer | Blocks, Items | Biomes | 58 WPM | Medium-High (0.62) |
WardenAI |
Deep Dark Lore Hunter | Mobs, Structures | Enchantments | 50 WPM | Very Deep (0.82) |
BlazeCore |
Speedrunner | Items, Mobs | Blocks | 72 WPM | Pragmatic (0.44) |
EndermanAI |
Cryptic Wildcard | Biomes, Enchantments | Structures | 54 WPM | Deep (0.76) |
GolemBot |
Steady Tank | Blocks, Structures | Enchantments | 46 WPM | Safe (0.38) |
Making Rule-Based Bots Feel Unmistakably Human
The difference between a robotic setTimeout(() => submit(randomItem), 2000) and an AI ring that actually creates tension comes down to five small behavioral details:
-
Category affinity:
WardenAIdominates Mob and Structure rounds (+6%accuracy, deeper rarity picks) but visibly struggles on Enchantment rounds (-9%). -
Fuse-panic adrenaline: As the fuse drops below 14 seconds, bots type up to 32% faster while slightly increasing fumble probability based on each persona's
panicResistance. -
Low-heart clutch XP hunting: When a bot drops to its final heart (
hearts === 1), it shifts toward higher-rarity answers (+0.15rarity bias) and gains a tiny adrenaline focus boost. -
35% second-wind panic recovery: When a bot initially blanks out, there is a 35% chance it recovers late in the fuse with a safe familiar fallback answer and fires a clutch quip (
"Repeater saved it!","Clutch water bucket!"). -
2-stage live typing previews: Instead of answers popping out of nowhere, the ring shows progressive typing previews (
typing: Soul ...→typing: Soul Campf...→Soul Campfire) synced to each persona's WPM.
Running a 500-turn Monte Carlo benchmark (node scripts/benchmark.mjs in our open-source engine repo) shows clear, playable personality separation:
Persona | Archetype | Pass % | Clutch % | Avg Time | Avg Rarity
--------------|------------------------|--------|----------|----------|-----------
RedstoneBot | Methodical Engineer | 88.0% | 5.5% | 3862ms | 81.5
WardenAI | Deep Dark Lore Hunter | 90.4% | 5.1% | 5331ms | 89.3
BlazeCore | Speedrunner | 84.8% | 9.0% | 2866ms | 70.1
EndermanAI | Cryptic Wildcard | 88.0% | 4.8% | 4591ms | 86.6
GolemBot | Steady Tank | 87.2% | 8.3% | 3981ms | 65.5
BlazeCore fires answers in ~2.86s with the highest clutch rate (9.0%), while WardenAI thinks longer (~5.33s) to pull rare 89.3 rarity answers straight out of the Deep Dark.
2. Two Real-Visitor JS Crashes We Caught From Live Telemetry
On day 2, our lightweight client-side error reporter surfaced two real-world crashes that never triggered on our local dev machines:
Crash A: Object.hasOwn(...) on older Chrome / school Chromebooks
A subset of players on locked-down Chrome builds hit TypeError: Object.hasOwn is not a function during answer resolution.
Fix: Replace every Object.hasOwn(obj, key) with a tiny ES5-safe helper:
function hasOwn(obj, key) {
return obj != null && Object.prototype.hasOwnProperty.call(obj, key);
}
Crash B: :popover-open inside element.matches() on older iOS Safari
Checking whether a native popover was open via el.matches(':popover-open') threw a fatal SyntaxError: ':popover-open' is not a valid selector on older iOS Safari versions that don't yet support the Popover API pseudo-class.
Fix: Guard selector checks and fall back to an explicit class/attribute toggle:
function isPopoverVisible(el) {
if (!el) return false;
try {
if (el.matches && el.matches(":popover-open")) return true;
} catch (_) {}
return el.classList.contains("is-open");
}
After shipping both fixes alongside our Live Global Leaderboards (tracking Daily Dig, Weekly Depth, Unlimited Streaks, and Creeper Party AI Ring survival), real-visitor JS crash reports dropped straight to 0.
3. Turning Live Miss Telemetry Into Better Trivia UX
Because we log anonymized prompt hit-rates on our edge backend, we also caught three catalog blind spots right away:
-
blk-modern(1.19–1.21 blocks) showed a 0% hit rate on day 2 because everyday staples likeSculk,Mud,Cherry Planks,Decorated Pot, andEyeblossomweren't tagged yet → expanded from 22 to 50 valid blocks. -
itm-unstackable(max stack size 1) sat at 28.3% (13/46) because players naturally typedDiamond Helmet,Boat,Bed,Minecart,Milk Bucket,Potion, andEnchanted Book→ expanded from 53 to 92 valid items. -
itm-trimmissed half of valid answers because players typesentryorvex triminstead ofSentry Armor Trim→ added collision-safe aliases across all 18 Smithing Templates while deliberately excluding barevex(so it never collides with the hostileVexmob) and bareward(keepingMusic Disc Wardsafe).
Because our trivia data lives on static edge JSON endpoints (/_d/trivia/*), we hot-patched all 538 entities and 115 aliases with zero downtime and without even redeploying HTML templates (and after another wave of day-3 telemetry, expanded the live catalog further to **621 entities* and 231 collision-safe aliases across 107 prompts)*.
Try It or Reuse the Code
- Play Minellion Games (free, zero login): https://minelliongames.com/
- Battle the 5 AI Bots in Creeper Party: https://minelliongames.com/creeper-party
- Global Leaderboards & Pickaxe Ranks: https://minelliongames.com/leaderboard
- Full 1.21+ Rarity Guide: https://minelliongames.com/rarity-guide
- Open-Source Bot & Resolver Engine (MIT, zero dependencies): https://github.com/sunrain113/minecraft-trivia-bot-engine
(Independent fan-made browser project — not affiliated with Mojang, Microsoft, or minellion.io.)
If you're building lightweight browser games without heavy frameworks or backend matchmaking, I'd love to hear how you handle solo bot opponents or Safari edge cases in the comments!
Top comments (2)
The fuse-panic detail is the part I would steal. Bots that type faster as the timer drops make a solo lobby feel tense without the usual tell of a fixed delay. Curious if players ever figure out the ring is bots, and whether it changes how long they stay once they do. Also a good catch on Object.hasOwn, locked-down school Chromebooks find that kind of thing every time.
bots panic