This is a project for creating a perfect snake game using JavaScript library, p5!
- Creating a folder called "libraries" for saving our p5 library for offline game
- Create files, index.html,sketch.js, snake.js, menu.js
- Create a fully functional snake game
- .....
- Install python2 for creating our local http server
- If you're on linux or mac, usually python2 is already installed
- type this command on your terminal/cmd for linux/mac "python2 -m SimpleHTTPServer" for Windows "python -m SimpleHTTPServer"
- Go to your prefered browser and type this following link "http://localhost:8000"
- Go to folder where you save the game, and game will open!
- Happy playing!