A simple snake 2D clone created using Javascript , that allows players to play the game in web browsers.
To run the game
- Download all the files from the repository
- Run a server ( Wampp, Xampp) or you could just use Live Server plugin that is available in VS Code.
- Then open the index.html file in the port that is running on the server.
To play the game
- Up Arrow -> Move the snake up
- Down Arrow -> Move the snake down
- Left Arrow -> Move the snake left
- Right Arrow -> Move the snake right
- SpaceBar -> Pause the game