/tic-tac-toe

Tic-tac-toe program using NodeJS

Primary LanguageJavaScriptMIT LicenseMIT

tic-tac-toe

Tic-tac-toe program using NodeJS

  1. Install NodeJS

    • Write command ; npm init
  2. //http://expressjs.com/en/starter/generator.html#express-application-generator // These command will automatically create file needed

    • Using express generator; npm install -g express-generator
    • To check either express already installed use command; express
    • Use command so it will create all the things needed in this program; express --view=ejs
    • Use command; npm install
    • On windows use command; set DEBUG=myapp:* & npm start else; DEBUG=myapp:* & npm start
    • Use this command to start server; npm start (need to restart if there is changes)
    • Instead use nodemon app.js OR nodemon app (changes automatically updated)
  3. Tutorial Javascript 2D array - https://www.geeksforgeeks.org/how-to-create-two-dimensional-array-in-javascript/