Skip to content

waqer/Snake-game

Repository files navigation

🐍 Sassy Snake

Classic Snake game built with React and TypeScript.
Grow your snake, eat the food, avoid walls, and try to beat your high score!


Features

  • Arrow key controls (↑ ↓ ← →)
  • Increasing speed as you progress
  • High score tracking per session
  • Pause game with space or click
  • Simple, retro-style green grid

Demo

🎥 Video Demo:
Demo.webm

🖼 Screenshots:

Game Screen:
Game Screen

Start Screen:
Start Screen


Installation

  1. Clone the repo:
git clone <your-repo-url>


2. Navigate into the project:
cd snake-the-game

3. Install dependencies:
npm install

4. Run the development server:
npm run dev

5. Open http://localhost:5173 and play.

How to Play

+ Use the arrow keys to move the snake.
+ Eat the food to grow and score points.
+ Don't hit the walls or the snake itself.
+ Speed increases as you survive longer.
+ Pause the game by pressing Space or clicking anywhere.

About

Retro-style Snake game built with React and TypeScript. Grow your snake, beat your high score, and relive the nostalgia of classic arcade games!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors