Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 728 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 728 Bytes

Battleship!

A multiplayer variant of the famous battleship game implemented with Node.js, Express & Socket.io.

You can check out a live version of this project here

Project Set-Up

After cloning this repository install all depencies via NMP with the following CLI-command:

npm install

To run the dev server it is recommended to use Nodemon, so that the dev server automatically reboots when changes are made. Nodemon can be installed globally via:

npm i -g nodemon

NPM Scripts

To run a dev server (uses Nodemon) that auto-reloads when changes are made use:

npm run dev

To run the server in "production" without Nodemon use instead the following script:

npm start