Skip to content

psupra22/Web-Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Snake Game

A classic Snake game built with HTML, CSS, and JavaScript for the browser. The game features a retro grid-based layout, smooth animations, a glowing neon aesthetic, and simple but responsive controls.

Features

  • 10x10 grid-based snake movement
  • Random food spawning with glowing effects
  • Score tracking
  • Increasing speed as the snake grows
  • Neon-themed styling with CSS effects
  • Start menu and game over screen
  • Restart functionality without page reload

Installation

  1. Clone this repository:
    git clone https://github.com/psupra22/Web-Snake-Game
    cd Web-Snake-Game
  2. No dependencies are required — it runs entirely in the browser.
  3. Make sure the following files are in the same directory:
  • index.html – Game layout
  • style.css – Styling and effects
  • index.js – Game logic

Usage

Open index.html in any modern browser.

Controls

  • Arrow keys: Move the snake
  • SPACE: Start game from menu
  • R: Restart game after game over

License

This project is licensed under the MIT License.

Contact

For any inquiries, feel free to reach out at psupra521@gmail.com.

About

A classic Snake game built with HTML, CSS, and JavaScript for the browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors