A simple 2d snake game built using react and typescript
MIT License
This game involves a snake moving inside a box. If a snake eats the fruit that is present inside the box then it increases in size and the score is increased.
If the snake collides with itelf or with the boundaries of the box, then the game is over.
w
, a
, s
, and d
.canvas
HTML element.yarn
yarn run start
This project is licensed under the MIT License - see the LICENSE file for details