- TypeScript
- React
- Canvas
To get started, clone the repository and install the dependencies:
git clone https://github.com/askador/snake.git
cd snake
npm installTo run the game, use the following command:
npm run startThis will start the development server and open the game in your default browser at http://localhost:3000.
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
