Skip to content

fedserfey/snake

Repository files navigation

Snake Game (2 players)

Technologies:

  • TypeScript
  • React
  • Canvas

Getting started

To get started, clone the repository and install the dependencies:

git clone https://github.com/askador/snake.git
cd snake
npm install

To run the game, use the following command:

npm run start

This will start the development server and open the game in your default browser at http://localhost:3000.

Controls

  • Red snake:
    • Move Up: W
    • Move Left: A
    • Move Down: S
    • Move Right: D
  • Black snake:
    • Move Up: Arrow Up
    • Move Left: Arrow Left
    • Move Down: Arrow Down
    • Move Right: Arrow Right

Demo

snake demo

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors