Skip to content

Snake Game - A classic arcade game recreated using React! Control a snake that grows longer as it eats food. Avoid running into walls or itself while trying to achieve the highest score. Responsive design, score tracking, and simple controls make for an engaging experience.

Notifications You must be signed in to change notification settings

devshree-bhati/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

This is a classic Snake Game implemented in JavaScript. The goal of the game is to control the snake to eat food, which makes the snake grow longer. The game ends if the snake runs into the walls or into its own body.

Features

  • Classic snake game mechanics
  • Simple and intuitive controls
  • Score tracking
  • Responsive design

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Make sure you have Node.js and npm installed on your machine. You can download them from here.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/devshree-bhati/snake-game.git
    

Instructions

How to Play NOTE: Start the game by pressing d

  • w Move Up
  • a Move Left
  • s Move Down
  • d Move Right

About

Snake Game - A classic arcade game recreated using React! Control a snake that grows longer as it eats food. Avoid running into walls or itself while trying to achieve the highest score. Responsive design, score tracking, and simple controls make for an engaging experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published