Skip to content

harish551/classic-snake

Repository files navigation

classic-snake

A classical snake game

Run app.js to play game

~$ node app.js

Game opens in your default browser server: http://localhost:8000

Requirements

  • npm

  • node

  • mongoDB

  • npm pakages:

    • express
    • path
    • mongoose
    • openurl

    to install packages run

    ~$ sudo npm insstall

to install mongodb

~$ sudo apt-get install mongo

to install npm

~$ sudo apt-get install npm

to install node

~$ sudo apt-get install nodejs

Game Play

playing game stats

References :

https://codeburst.io/hitchhikers-guide-to-back-end-development-with-examples-3f97c70e0073

https://medium.freecodecamp.org/javascript-functions-af6f9186a553

https://medium.freecodecamp.org/think-like-a-programmer-how-to-build-snake-using-only-javascript-html-and-css-7b1479c3339e