This is a browser-based snake game built with TypeScript. Here's a GIF of the game play:
You need to have Node.js and yarn installed.
- Clone the repository with
git clone https://github.com/ayoisaiah/snake
cd
into thesnake
directory and runyarn
to install dependencies.- Run
yarn start
to compile the TypeScript code and open the game in your browser on port 8100. - Enjoy!