/Nvision-Battleship

Primary LanguageJavaScriptMIT LicenseMIT

NvisionBattleship

NvisionBattleship is a multiplayer Battleship game made with Node.js and socket.io. At the start of the game, five ships of different sizes are placed randomly in a 10 x 10 grid. The players then take turns firing shots at the opponent's grid until one player has sunk all of the opponent's ships.

Install

Step 1: Download/clone.

git clone https://github.com/codesome/NvisionBattleship.git

Step 2: Install dependencies.

npm install

Step 3: Start server.

node server.js

Step 4: Open http://localhost:8000/ in your browser to play.