Skip to content

This is a project for creating a perfect snake game using JavaScript library, p5!

Notifications You must be signed in to change notification settings

ahmadyogi543/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-Game

This is a project for creating a perfect snake game using JavaScript library, p5!

What to do

  • 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
  • .....

How to run this game on your local machine

  • 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!

About

This is a project for creating a perfect snake game using JavaScript library, p5!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published