Skip to content

Sanya06C/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Snake Game A responsive browser-based mini-game created using HTML, CSS, and JavaScript.

🎮 Play the Game https://sanya06c.github.io/snake-game/

📌 What I Learned

How to manipulate the DOM dynamically Handling keyboard events for player controls Implementing game loops using setInterval() Basics of collision detection and grid logic Organizing code into clean, reusable functions

🛠️ Tech Stack

HTML5 – structure CSS – design & layout JavaScript – game logic

⭐ Features

Smooth snake movement Score counter Random food generation Game over detection Responsive layout for different screens

About

A js html css based mini snake game!!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors