SnakeGame is an implementation made with JavaScript, TypeScript, and React of a famous classic game called Snake.
Clone this repository and install the dependencies using your preferred package manager.
pnpm install
# or
yarn
# or
npm install
- The objective is to eat all the fruits on the screen using the snake's head.
- To control your snake, you can press any of the arrow keys ⬅️⬆️➡️⬇️ on your keyboard or swipe the screen 👇 in the mobile version.