Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 797 Bytes

File metadata and controls

30 lines (21 loc) · 797 Bytes

HTMLSnakeGame

A simple, browser-based Snakey game built with HTML and JavaScript.

Features

  • Classic Snake gameplay
  • Responsive controls using arrow keys
  • Score tracking
  • Game over detection (GAME OVER!)
  • new leaderboard tracking
  • press space for pause
  • mobile friendly

How to Play HTMLSnakeGame?

To play the game follow these steps:

  1. Copy the .hmtl file and use a html runner (or anything else u use LOL)
  2. Open SnakeGame.html in any modern web browser.
  3. Use the arrow keys to control the snake.
  4. Eat the food, grow longer, and avoid crashing into yourself!
  5. otherwise, have fun! OR you can.. Play it here:- https://them1ddlem1n.github.io/HTMLSnakeGame/

Bugs that need fixing

Keys for mobile layout need repositioning (right and left are in wrong place)