Skip to content

Latest commit

ย 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 

Repository files navigation

React + Vite

Hereโ€™s a professional, GitHub-ready README.md for your project SNAKE_GAME, Dhiva ๐Ÿ๐Ÿ”ฅ You can copyโ€“paste directly into README.md. ChatGPT Image Jun 24, 2026, 12_52_30 PM


๐Ÿ SNAKE_GAME

A modern Snake Game built using React JS + Vite, featuring a smooth UI, mobile swipe controls, emoji-based snake head, and dynamic color-changing food. Designed with a clean, responsive layout and deployed using GitHub Pages.


๐ŸŽฎ Features

  • ๐Ÿ Classic Snake gameplay
  • ๐Ÿ˜€ Emoji-based snake head
  • ๐ŸŽจ Random color-changing food & snake body
  • ๐Ÿ“ฑ Mobile swipe controls
  • โŒจ๏ธ Keyboard controls (Arrow keys)
  • ๐ŸŒ— Clean UI with smooth animations
  • โšก Fast performance with Vite
  • ๐ŸŒ Live deployment via GitHub Pages

๐Ÿ› ๏ธ Tech Stack

  • Frontend: React JS
  • Build Tool: Vite
  • Styling: CSS (Custom UI)
  • Deployment: GitHub Pages

๐Ÿš€ Live Demo

๐Ÿ”— Play the game here: https://isaac1376.github.io/SNAKE_GAME/


๐Ÿ“‚ Project Structure

SNAKE_GAME/
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ vite.config.js
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”œโ”€โ”€ App.css
โ”‚   โ””โ”€โ”€ main.jsx
โ””โ”€โ”€ public/

๐Ÿง‘โ€๐Ÿ’ป Installation & Run Locally

git clone https://github.com/Isaac1376/SNAKE_GAME.git
cd SNAKE_GAME
npm install
npm run dev

๐Ÿ“ฆ Build & Deploy

npm run build
npm run deploy

Make sure GitHub Pages source is set to gh-pages branch.


๐ŸŽฏ Learning Outcomes

  • React component structure
  • State management & game logic
  • Keyboard + touch event handling
  • Responsive UI design
  • GitHub Pages deployment
  • Real-world React project workflow

๐Ÿ”ฎ Future Improvements

  • ๐Ÿ† High score system (localStorage)
  • ๐Ÿ”Š Sound effects
  • ๐Ÿง  Difficulty levels
  • ๐ŸŽญ Multiple snake skins
  • ๐ŸŒŒ Animated background themes

๐Ÿ‘จโ€๐Ÿ’ป Author

Dhiva (Isaac1376) Aspiring Full-Stack Developer | React | Python | Linux | Cybersecurity


โญ If you like this project, donโ€™t forget to star the repository!


This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.

About

๐Ÿ Neon Snake is a cyberpunk-style Snake game built with React JS. Control the emoji snake head using keyboard โŒจ๏ธ or mobile swipe ๐Ÿ“ฑ, eat glowing food to grow and change colors ๐ŸŽจ, and survive increasing speed โšก. Smooth animations, neon UI, and arcade vibes make it fun and addictive ๐ŸŽฎโœจ

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors