Skip to content

codeWithMarina/HTMLSnakeGame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%