# Burn & Add Liq — Browser Game — Brain On BNB AI
# One HTML file. Jump, burn, dodge the dumps.
#
# This is the complete browser-game bundle as a single file, so it can be read in
# one fetch. 2 files, 1198 lines.
# Download as a zip: https://brainonbnb.com/code/browser-game.zip
# Everything else: https://brainonbnb.com/code/index.txt
#
# No secrets are present: they are supplied at runtime through the environment.
# MIT licensed.
==============================================================================
=== FILE: dashboard/game/index.html
==============================================================================
Jump up through the BNB Chain — collect 🔥 Burns (+100) and 💧 Liquidity (+50), dodge 📉 Dumps and ☠️ Spinners. You can wrap through the left/right edges! The higher you go, the harder it gets.
🎯 ITEMS
▬
Chain Blocks
💧
+50 Liquidity
🔥
+100 Burn
⚡
Boost Jump
⬣
DUMP (−pts)
⟳
Spinner (kill)
🛡
ANTI FUD
🛡 ANTI FUD
Burns & Liq charge your shield. 3+ charges → activate with Space / middle button. Each charge = 1s immunity!
🏆 MILESTONES
100 — SER PAMP IT250 — APE BRAIN500 — BURN ADDICT750 — CANT DUMP ME1K — FULL DEGEN1.5K — SIGMA GRINDSET2K — CHAD ON CHAIN3K — GIGA BURNER4K — BUILT DIFFERENT5K — CZ APPROVED
Desktop: Arrow Keys + Space • Mobile: Buttons below
HIGH SCORES
RANKNAMESCORE
RANKNAMESCORE
RANKNAMESCORE
GOOD JOB!
You burned some tokens & added some liq. Try again!
==============================================================================
=== FILE: game/bobai_scores_setup.sql
==============================================================================
-- Run this in your Supabase SQL Editor (same project as buildonbnbgame)
-- Table for Brain On BNB AI game highscores
CREATE TABLE bobai_scores (
id BIGSERIAL PRIMARY KEY,
name TEXT NOT NULL CHECK (char_length(name) >= 1 AND char_length(name) <= 42),
score INTEGER NOT NULL CHECK (score >= 0),
created_at TIMESTAMPTZ DEFAULT NOW()
);
ALTER TABLE bobai_scores ENABLE ROW LEVEL SECURITY;
CREATE POLICY "anon_select" ON bobai_scores FOR SELECT USING (true);
CREATE POLICY "anon_insert" ON bobai_scores FOR INSERT WITH CHECK (true);
CREATE INDEX idx_bobai_score ON bobai_scores (score DESC);
CREATE INDEX idx_bobai_created ON bobai_scores (created_at DESC);