Skip to content
View DrTsunamy's full-sized avatar

Highlights

  • Pro

Block or report DrTsunamy

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
DrTsunamy/README.md

🌊 Blue Run – Underwater Odyssey

A fast, juicy 3D endless-runner that lives in a single HTML file. Swim a coral canyon, dodge urchins, mines, jellyfish and moray eels, chain pearls into combos, and chase your best score across five biomes β€” from sunlit reefs to the boss escape.

Play it: just open index.html in any modern browser (desktop or mobile). No build step, no install.

Controls

Action Keyboard Touch
Change lane ← β†’ or A / D Swipe left / right
Jump (hold to charge) Space Tap & hold
Dive-slam ↓ or S (mid-air) Swipe down
Pause P or Esc ⏸ button

A fully-charged jump triggers the Rainbow Boost. The dive-slam sends out a shockwave that pulls in nearby pearls.

Features

  • Winding canyon β€” the world bends into curves and cascade drops ahead of you (vertex-shader world bend, so lane controls stay pixel-exact)
  • 5 biomes with smooth colour-graded transitions, animated caustics, god rays, sand cascades pouring off the canyon ledges, and a procedural sunken temple that drifts by
  • Power-ups: shield πŸ›‘, magnet 🧲, and 2Γ— score ✨
  • Skill rewards: near-miss bonuses ("CLOSE!"), combo multiplier, pearl arcs over obstacles
  • One revive per run, slow-motion last-life moments, distance milestones, live NEW BEST chase
  • Procedural audio β€” all SFX and the adaptive music loop are synthesized with the Web Audio API; the tempo rises with each biome. No audio files.
  • Local top-5 high scores (browser localStorage only β€” nothing leaves your device)

Tech & security notes

  • three.js r128 from CDN, pinned with Subresource Integrity (SRI) hashes and a fallback CDN; a strict Content-Security-Policy meta tag limits scripts to those hosts
  • No analytics, no cookies, no network calls besides the CDN libraries and Google Fonts
  • Unhandled startup errors are rendered with textContent (no HTML injection)
  • WebGL with 2K soft shadows, ACES tone mapping and a post-processing chain: Unreal-style bloom β†’ custom underwater refraction & chromatic aberration shader β†’ FXAA (falls back to plain rendering automatically if the add-ons fail to load)

Popular repositories Loading

  1. DrTsunamy DrTsunamy Public

    Config files for my GitHub profile.

    HTML

  2. Blue-run Blue-run Public

    🌊 Blue Run – Underwater Odyssey: a fast, juicy 3D endless-runner in a single HTML file. Treasures mines and moray eels through 5 ocean biomes, chain pearl combos, and chase your best score. Built w…

    HTML