Skip to content

gourrashi20-hash/Snakeyyyy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

A classic Snake Game built using HTML, CSS, and JavaScript.
Control the snake, eat food to grow longer, and avoid collisions to achieve the highest score.


Features

  • Classic snake movement
  • Food generation at random positions
  • Score tracking
  • Game over detection on collision
  • Keyboard controls
  • Smooth gameplay

How to Play

  1. Use arrow keys to control the snake
  2. Eat the food to grow longer
  3. Avoid colliding with walls or the snake's own body
  4. The game ends when a collision occurs
  5. Try to achieve the highest score

Tech Stack

  • HTML
  • CSS
  • JavaScript

Project Structure

Snake-Game/ │── index.html
│── style.css
│── script.js


Future Improvements

  • Add high score system
  • Add difficulty levels
  • Add sound effects
  • Improve UI/UX
  • Add mobile controls

Author

Rashi Gour


Support

If you like this project, please give it a star on GitHub.

About

This is practice game based project, I tried to reflect my creativity with some external help as a beginner.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors