/snake

Primary LanguageCSS

MAMBA

A take on the classic game of Snake. Players help NBA legend Kobe Bryant, aka, "Black Mamba" secure as many NBA Championship Trophies as possible without getting a technical foul!

Getting Started 🐍

Use your keyboard arrow keys or the on screen buttons to start the game and change directions. The game will end if you run into a wall or Kobe's trophies.

MAMBA Game Screenshot

Technologies Used 💾

  • HTML
  • CSS
  • JavaScript

Planning Material 📕

The image below was the original layout of the game:

MAMBA Game Screenshot

Ice Box 🧊

  • Update rematch button
  • Basketball animations
  • Kobe face turns on direction change
  • Difficulty settings
  • Highscore tracker
  • Pause function
  • Additional audio
  • Double tap to zoom disabled

Credits 🙌

Special thanks to @jemware for the button design.

Known Bugs 🛠️

  • [FIXED] Flashing snake head on mobile
  • [FIXED] Sqr #255 detection issue
  • [FIXED] Mobile button showing emojis
  • [FIXED] Mobile controller not responding to clicks directly right of arrows
  • [FIXED] Button press not displayed on mobile
  • Sound loop on body crash after using Rematch button