prateek18597 / Pocket-Tanks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Instructions

  1. Extract the 2016CSJ0002_2016CSJ0049.zip file.
  2. Change Directory to 2016CSJ0002_2016CSJ0049/code.
  3. Open terminal in this folder.
  4. Type "node server.js" to run the server.
  5. Type localhost:5000/Game in your browser.If you are operating from differnt computer then type :5000

To see Change Document and Design Document

  1. Extract the 2016CSJ0002_2016CSJ0049.zip file.
  2. Change Directory to 2016CSJ0002_2016CSJ0049/doc.

##Features and Requirements

  1. When we open the given link login page opens,login with the given details.This details are stored in a MySQL database. To create that database on your computer follow instructions given below-
    1. Open MySQL in your terminal and create a database named PocketTank,and execute use command for it.
    2. Go to open code/PocketTank_dump.sql and copy it's content and paste it into mysql.
    3. In server.js at line 35 insert your mysql username and password.
    4. This are the id and password currently available in database you can use them.{id:"Pratik",password:"Parmar"} & {id:"Vaibhav",password:"Vashisht"}
  2. Choose modes(night or day)/(single or multiplayer).
  3. Then you are ready to play.Explore the game,weapons,modes and try to beat your opponent.
  4. Text chat feature is also enabled.Enjoy Chatting !

About


Languages

Language:JavaScript 61.0%Language:HTML 39.0%