Skip to content

saquibshaikh14/snake-game-react

Repository files navigation

Snake Game with React and TypeScript

Snake Game with React and TypeScript

This is a simple Snake Game built with React and TypeScript.

Table of Contents

Demo

Live Demo

Features

  • Play the classic Snake Game
  • Responsive design
  • Easy to use and understand

Technologies

  • React
  • TypeScript
  • Vite
  • CSS

Getting Started

To get a local copy of the project up and running, follow these simple steps.

  1. Clone the repo

    git clone https://github.com/saquibshaikh14/snake-game-react-ts.git

  2. Install the dependencies

    cd snake-game-react-ts npm install

Run Locally

To run the project locally, use the following command:

npm run dev

The project will be available at http://localhost:{PORT}.

Build and Deploy

To build and deploy the project, use the following commands:

npm run build

The build artifacts will be available in the dist folder.

Contributing

Contributions are always welcome!