项目作者: nvision-2017

项目描述 :
Battleship online multiplayer game as part of Nvision 2017
高级语言: JavaScript
项目地址: git://github.com/nvision-2017/Battleship.git
创建时间: 2018-02-19T06:18:40Z
项目社区:https://github.com/nvision-2017/Battleship

开源协议:MIT License

下载


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.

  1. git clone https://github.com/thecodesome/NvisionBattleship.git

Step 2: Install dependencies.

  1. npm install

Step 3: Start server.

  1. node server.js

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