Skip to content

Battleship game (CS251 Project) using React and Node js

Notifications You must be signed in to change notification settings

adityavavre/Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battle of the Iron Islands

A simple multiplayer implementation of the classic arcade game, Battleship with a Game of Thrones theme. The implementation is purely based on NodeJS, SocketIO, Express and HTML(with some CSS Magic).

Getting Started

Clone this repository using git clone.

$ git clone https://github.com/adityavavre/Battleship.git

Prerequisites

NPM
NodeJS
MySQL

Installing

To Install NPM and NodeJS follow the steps given in the link below

To Install MySQL follow the steps given in the link below

After installing MySQL you need to create a schema called users and a table in it named myusers myusers is a table containing columns userID(text), pass(text), wins(int), losses(int), rating(int) You also need to edit the username and password for the MySQL server.

Instruction to start and play the game

go to the directory and run node app.js

$ cd cs251project-master
$ npm install
$ node app.js   

go to http://localhost:3000 in browser, register and login, find online users and send invitations and enjoy the game.

Built With

Authors

  • Arjit Jain
  • Aditya Vavre
  • Devki Nandan Malav

Acknowledgments

About

Battleship game (CS251 Project) using React and Node js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published