snake
snake copied to clipboard
Basic Snake Game in TypeScript
Basic Snake Game written in TypeScript
Just for fun. It's written in vanilla js, no libraries used. Also it uses HTML elements to render the game instead of canvas.

Controls
- User arrow keys to move around
G= Show GridC= No Clip Mode, go through self and wallsJ= Slow down the snakeK= Speed up the snakeSPACE= Pause, Resume gameRETURN= start the game1 - 4= Change levels0remove level
Development
- Checkout the project and CD into it
- run
npm installto get all dependencies - run
npm run buildto build the app - run
npm run devto get the game running on your browser