Skip to content

Oliversenseii/Snake-Game

Repository files navigation

🐍 Snake Game

A feature-rich, browser-based Snake game with multiple themes, enemy snakes, power-ups, combo systems, and a global leaderboard — built with React and Supabase.


🛠 Tech Stack

React TailwindCSS PostgreSQL Supabase


📦 Version 1.0.0

✨ Features

  • 16 unique world themes, each unlocked every 10 points (Classic, Neon City, Deep Space, Nightmare, and more)
  • 6 food types — Apple, Gold Star, Speed Boost, Bomb, Poison, Power-up Orb
  • 4 active power-ups — Ghost, Magnet, Slow, Shield
  • Combo multiplier system — up to ×8 score multiplier
  • 3 progressive enemy snakes that spawn at score milestones (20 / 40 / 60)
  • Random events — Food Rain and Portals
  • World mechanics per theme — slippery ice, electric barriers, wind push, rising water, glitch, nightmare mode
  • Dynamic wall generation every 10 points
  • Speed bar HUD showing real-time snake velocity
  • Sound effects via Web Audio API (eat, combo, power-up, game over, and more)
  • Global leaderboard powered by Supabase
  • Pause / Resume support
  • Responsive canvas that adapts to any screen size

🎮 Gameplay Overview

  • Score increases by eating food — combos multiply your points
  • Every 10 points: speed increases, new walls spawn, and a new theme unlocks
  • Enemy snakes appear at score 20, 40, and 60 — eat their head to gain points
  • Random events (Food Rain, Portals) trigger after score 30
  • Each theme introduces a unique world mechanic that changes how the game plays

About

A feature-rich Snake game with 16 themes, power-ups, enemy snakes, combos, and a global leaderboard.

Topics

Resources

Stars

Watchers

Forks

Contributors