Skip to content

Latest commit

ย 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฅ๐Ÿ’ฅ HYPER-SNAKE OMEGA ๐Ÿ’ฅ๐Ÿ”ฅ

โšก APOCALYPSE SINGULARITY โšก

MAXIMUM UNCHAINED OVERKILL โ€ข 150BPM SYNTHWAVE โ€ข ZERO INHIBITIONS โ€ข FULL GAS

Stars Last commit Code size Top language

ONE FILE LINES DEPENDENCIES BUILD STEP IMAGE ASSETS

VIBE CODED BREAKS TAKEN THROTTLE BRAKES

TROPHIES AUDIO BPM GRID GAMEPAD

Rainbow Fever: a 76-segment chromatic snake filling the grid at a 27x combo and 48,210 points, with the RAINBOW FEVER banner across the board

RAINBOW FEVER. 76 segments, 27x combo, 280% engine speed, walls turned off.


๐Ÿ’€ WHAT IS THIS MONSTROSITY?!

Forget whatever boring, beige, 1997 Nokia snake game you played in middle school. HYPER-SNAKE: APOCALYPSE SINGULARITY is a dopamine-fueled, retrowave-blasted, screen-shaking, thermonuclear arcade acid trip that turns a simple grid game into PURE UNFILTERED CYBERPUNK CHAOS.

Built into a single, self-contained index.html file with zero external JS libraries and zero image assets. Everythingโ€”the audio synthesizer, drum sequencer, particle physics, 3D warp grid, and bloom shadersโ€”is generated raw on the metal in real time.

Nothing here is a sprite. Nothing here is an MP3. Every pixel and every sound is computed from scratch, every single frame, while you play.

   _____ _   _          _  ________    ____  __  __ ______ _____          
  / ____| \ | |   /\   | |/ /  ____|  / __ \|  \/  |  ____/ ____|   /\    
 | (___ |  \| |  /  \  | ' /| |__    | |  | | \  / | |__ | |  __   /  \   
  \___ \| . ` | / /\ \ |  < |  __|   | |  | | |\/| |  __|| | |_ | / /\ \  
  ____) | |\  |/ ____ \| . \| |____  | |__| | |  | | |___| |__| |/ ____ \ 
 |_____/|_| \_/_/    \_\_|\_\______|  \____/|_|  |_|______\_____/_/    \_\
Animated gameplay: the snake eating through the grid, firing laser cross-beams, detonating a nuke, and entering Rainbow Fever

Five seconds of it. Laser cross-beams, a nuclear whiteout, and Fever kicking in.


โšก ULTRA WEAPONRY & POWER-UP ARSENAL

Four panels: the nuke whiteout with corner lightning, a black hole singularity pulling in particles, cyan laser cross-beams down a row and column, and a hyper star payout

Nuke ยท Singularity ยท Cross-beam ยท Hyper Star

ICON ITEM DISASTER LEVEL WHAT HAPPENS
๐ŸŸข Core Matter STANDARD Basic fuel. Builds the combo streak.
โญ Hyper Star ULTRA High-multiplier score booster. Spawns explosive shock rings.
โšก Laser Cross-Beam LETHAL Dual laser beams flash across the full row and column you ate on.
โ˜ข๏ธ Thermonuclear Nuke APOCALYPTIC Screen-wide whiteout flash, 4-corner high-voltage lightning strikes, extreme screen violence.
๐ŸŒŒ Black Hole Singularity COSMIC EXTINCTION Biggest score payout on the board. Arcs a violet gravity tether to every other food still on the grid.
๐Ÿ”ฌ Open the full-size shots

โ˜ข๏ธ THERMONUCLEAR NUKE โ€” whiteout flash, lightning arced to all four corners, 160 particles off one tile.

The nuke detonation: red screen wash, expanding shock ring, lightning striking the corners

๐ŸŒŒ BLACK HOLE SINGULARITY โ€” the well pulls every particle on the board in on inverse-square attraction until it collapses.

The black hole: violet gravity tethers arcing to the remaining food, particles spiralling into a dark core

โšก LASER CROSS-BEAM โ€” full-canvas beams down the row and column you ate on.

Cyan laser beams crossing the entire board through the snake's head

โญ HYPER STAR โ€” multiplier payout and a shock ring.

The hyper star payout with its shock ring expanding across the grid

๐ŸŒˆ RAINBOW FEVER GODMODE

Fill your Overdrive gauge to 100% and the game stops pretending it has rules.

  • ๐Ÿš€ Invulnerability against wall crashes (warp through the grid edge).
  • ๐Ÿ‘ป Immunity against eating your own tail.
  • โšก 2.0x Baseline Combo Multiplier stacked on top of existing streaks.
  • ๐ŸŒˆ Full-Spectrum Chromatic Rainbow Dragon Trail.
  • ๐Ÿ’ฅ The bassline jumps an octave and the whole rig starts strobing.

For eight seconds you are not playing snake. You are a rainbow freight train with no brakes and the walls are a suggestion.


๐Ÿ† 43 PERSISTENT ACHIEVEMENTS

Tracked live in the cyber-sidebar and saved across sessions via localStorage. The unlocks themselves are permanent. The ones marked per run have to be earned inside a single life and their counters reset the moment you respawn; the ones marked lifetime tally across every run you have ever played.

Forty-two of them are earnable. The forty-third is what you get for taking the other forty-two.

  • ๐Ÿฉธ FIRST BLOOD โ€” Devour your first cyber-matter core.
  • โšก HYPER VELOCITY โ€” Reach a 5x combo streak.
  • ๐Ÿ”ฅ UNSTOPPABLE APEX โ€” Reach a 10x godlike combo streak.
  • ๐ŸŒˆ OVERDRIVE FEVER โ€” Fill the energy gauge to 100%.
  • โ˜ข๏ธ THERMONUCLEAR CZAR โ€” Detonate a nuclear plasma reactor.
  • ๐ŸŒŒ BLACK HOLE SUTRA โ€” Absorb a galactic cosmic singularity.
  • ๐Ÿš€ WARP FACTOR 9 โ€” Reach 200%+ engine speed.
  • ๐Ÿ‰ COSMIC OUROBOROS โ€” Grow to length 25.
  • ๐Ÿ‘‘ WORLD DEVOURER โ€” Grow to length 40.
  • ๐ŸŽฎ CONTROLLER OVERLORD โ€” Plug in an Xbox or USB gamepad.
  • ๐Ÿ’Ž HIGH ROLLER (1K) โ€” Score over 1,000 points.
  • โญ IMMORTAL DEITY (3K) โ€” Score over 3,000 points.
  • ๐Ÿ‘ป DEATH DEFIER โ€” Ride out an entire Fever Mode cycle without dying.
  • ๐Ÿ’ซ SINGULARITY STREAK โ€” Reach a 20x combo streak.
  • ๐ŸŒŸ GALACTIC TYCOON (10K) โ€” Score over 10,000 points.
  • ๐Ÿ ENDLESS LEVIATHAN โ€” Grow to length 60.
  • ๐ŸŽ๏ธ TERMINAL VELOCITY โ€” Pin the engine at its top speed.
  • โ˜ข๏ธ FALLOUT ENTHUSIAST โ€” Detonate 3 nukes, per run.
  • ๐Ÿ•ณ๏ธ EVENT HORIZON โ€” Absorb 3 singularities, per run.
  • ๐Ÿ”ซ BEAM ARCHITECT โ€” Fire 5 laser cross-beams, per run.
  • ๐Ÿฝ๏ธ BALANCED DIET โ€” Eat all five matter types, per run.
  • ๐Ÿ” PERPETUAL OVERDRIVE โ€” Trigger Fever 3 times, per run.
  • ๐ŸŒ€ PHASE SHIFTER โ€” Warp through the grid edge during Fever.
  • ๐ŸงŠ COLD BLOODED โ€” Score 1,000 before ever triggering Fever, per run.
  • โณ LONG HAUL โ€” Survive a single run for 2 minutes.
  • ๐ŸŒ  COMET CHAIN โ€” Reach a 30x combo streak.
  • ๐Ÿฆ COSMIC OLIGARCH (25K) โ€” Score over 25,000 points.
  • ๐Ÿช HEAT DEATH SURVIVOR (50K) โ€” Score over 50,000 points.
  • ๐Ÿชข PLANET GIRDLE โ€” Grow to length 100.
  • ๐Ÿ’ฃ MUTUALLY ASSURED โ€” Detonate 10 nukes, per run.
  • ๐Ÿงฒ GRAVITY ADDICT โ€” Absorb 5 singularities, per run.
  • ๐ŸŽฏ BEAM SATURATION โ€” Fire 15 laser cross-beams, per run.
  • ๐Ÿฅต FEVER DREAM โ€” Trigger Fever 5 times, per run.
  • ๐ŸŒช๏ธ DIMENSIONAL DRIFTER โ€” Warp the grid edge 10 times, per run.
  • ๐Ÿ—บ๏ธ CARTOGRAPHER โ€” Feed from all four corners, per run.
  • ๐Ÿน STRAIGHT SHOOTER โ€” Travel 20 tiles without turning.
  • โ™จ๏ธ HOT START โ€” Reach a 5x combo in the first 15 seconds, per run.
  • ๐Ÿš„ FAST MONEY โ€” Score 1,000 inside 30 seconds, per run.
  • ๐Ÿ•ฐ๏ธ MARATHONER โ€” Survive a single run for 5 minutes.
  • ๐Ÿ” GLUTTON PRIME โ€” Devour 1,000 cores, lifetime.
  • ๐ŸŽฐ HABITUAL โ€” Start 50 runs, lifetime.
  • ๐Ÿ’€ SISYPHUS โ€” Die 100 times, lifetime.
  • ๐Ÿ† SINGULARITY COMPLETE โ€” Unlock every other trophy.

๐Ÿ”Š HARDCORE PROCEDURAL AUDIO ENGINE (Web Audio API)

No MP3s. No WAV files. No network lag. Not one byte of recorded audio ships with this game.

  • 150 BPM Darksynth Drum Machine: Real-time synthesized kicks, snappiest noise claps, and open hi-hats.
  • Rolling Acid Bassline: Dynamic low-pass resonant filter sweeps that crank up and distort as your combo grows.
  • Sound FX Synthesizers: Procedural white-noise explosion filters, FM laser sweeps, ascending singularity risers, and victory fanfare chords.

The soundtrack reacts to how well you are doing. Rack up a streak and the filter opens, the distortion bites and the whole mix gets meaner. The game is scoring itself while you play it.


๐ŸŽฎ CONTROLS & HARDWARE SUPPORT

  • โŒจ๏ธ Keyboard: Arrow Keys or WASD to steer, Space / Enter to restart, F for fullscreen.
  • ๐ŸŽฎ Xbox / Bluetooth Gamepad API:
    • D-Pad / Left Thumbstick: Full 4-way navigation with analog deadzone filtering.
    • A / X / Start button: Start game / Instant Respawn.
    • Dual-Rumble Haptic Feedback: Dynamic low/high-frequency motor vibration triggers on eating, nuke detonations, laser bursts, black holes, and deaths.
  • ๐Ÿ“ฑ Touch D-Pad: Automatic on-screen touch overlay on phones & tablets.

Plug a controller in and the pad rumbles differently for every kind of death and every kind of pickup. A nuke is not the same handful of vibration as a laser.


๐Ÿ–ฅ๏ธ IT SCALES TO ANYTHING YOU THROW AT IT

The board grows to fill whatever room it has. The column takes the viewport height, the chrome takes what it needs, and the board absorbs everything left over, so there is no magic reserve to get wrong when the title reflows or the touch d-pad appears.

Hit FULL in the HUD (or press F) and it reclaims the browser chrome too. Same 20x20 grid at every size โ€” only the pixels get bigger, never the board. A phone and a 4K monitor play the exact same game.

viewport board
900 x 613 449px
1280 x 713 530px
1920 x 1093 884px
2400 x 1413 1100px (capped)

The canvas keeps a fixed 540x540 backing store and CSS stretches it, so every draw call still works in the coordinate space it was written for. --board-max is the ceiling on how far it stretches: 1100px windowed, 1500px fullscreen.


๐Ÿ”ฎ THE FX PIPELINE

Everything on the game canvas is drawn per frame from primitives. No sprites on disk, no shader files, no asset folder.

  • Bloom โ€” the scene is downsampled through a chain of halved buffers and composited back additively. The downsample is the blur.
  • Glow sprites โ€” one radial-gradient sprite is baked per colour and blitted additively. Particles, the snake halo, food halos and the ambient starfield all come from the same cache.
  • Gravity wells โ€” a black hole pickup leaves a singularity that pulls every particle on inverse-square attraction until it collapses.
  • The swallow โ€” eating sends a wave from the head to the tail, swelling each segment as it passes.
  • Chromatic aberration โ€” opposed red/cyan drop-shadows on the whole rig, spiked by nukes, singularities, Fever and death.
  • Warp streaks โ€” radial speed lines during Fever.
  • Screen shake, zoom, roll, strobe and CRT scanlines โ€” camera and overlay work, all frame-rate independent.

LOW GFX turns off every one of these. The game plays identically; it just stops painting.


๐Ÿงช 100% VIBE CODED, ZERO BREAKS, FULL GAS

No design doc. No sprint board. No tickets. No stand-up. No architecture review. No "let's circle back on the particle budget."

I sat down, put the throttle on the floor and never lifted off it. The synth engine, the bloom chain, the gravity wells, the 43-trophy tracker, the gamepad rumble curves, all of it got built in one continuous full-gas run on vibes alone. When something felt like it should exist, it went in. When it felt slow, it got faster. That was the entire process.

The whole thing is still one file. That was never the plan, it just never stopped being true.

Vibes: kept. Brakes: never fitted. Gas: full.


โš ๏ธ PHOTOSENSITIVITY & THE GFX TOGGLE

This game strobes hard by default. Full gas has an off switch, and here it is.

The GFX button in the HUD switches between ULTRA and LOW; LOW drops the bloom, the screen shake, the full-screen flashes, the chromatic aberration, the warp grid, the ambient particle field and every looping strobe animation, and the choice is remembered in localStorage.

If your OS is set to reduce motion, the game starts in LOW automatically and the flashing elements stay disabled even if you switch back to ULTRA.

๐Ÿ”ฅ ULTRA ๐ŸงŠ LOW
ULTRA graphics mode: the same board bathed in bloom, chromatic aberration and a pink full-screen wash LOW graphics mode: the same board with flat colours, no bloom and no full-screen wash

Same snake, same board, same 31x combo. Only the painting changes.


๐Ÿš€ HOW TO RUN LOCALLY

No npm install. No docker run. No bundler. No config file. No build steps. There is nothing to install because there is nothing to install.

# Clone the madness
git clone https://github.com/janost/hyper-snake-omega.git

# Open directly in any modern browser
cd hyper-snake-omega
xdg-open index.html # Or open index.html in Chrome/Firefox/Safari

That is it. That is the whole setup. Double-clicking the file also works, because it is just a file.


๐Ÿ”ฅ NOW GO FORTH AND DEVOUR THE COSMOS ๐Ÿ”ฅ

About

๐Ÿ”ฅ๐Ÿ’ฅ MAXIMUM UNCHAINED OVERKILL SNAKE ๐Ÿ’€ 150BPM synthwave, thermonuclear nukes, black hole singularities, laser cross-beams, RAINBOW FEVER GODMODE. All of it raw-generated in ONE self-contained index.html. Zero libraries. Zero assets. PURE UNFILTERED CYBERPUNK CHAOS โšก

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages