codesome / Nvision-Battleship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:JavaScript 55.0%Language:HTML 37.5%Language:CSS 7.5%