/battleship_multiplayer

battleship multiplayer

Primary LanguageJavaScript

Battleship Multiplayer

Build Status Coverage Status

Basic Idea

The idea behind the implementation of this game is to practice some technologies. The game is the well known battleship game.

What's next?

  • Implement the basic rules and some basic UI
  • Implement multiplayer logic using SocketIO
  • Implement some artificial intelligence to enable games versus the machine

Used technologies

This single page application is written using:

Building and Running

  • Make sure you have node and npm installed.

  • Clone the Github repo:

        git clone https://github.com/GContaldi/battleship_multiplayer.git
    
  • Install npm dependencies:

        cd battleship_multiplayer
        npm install
    
  • Run the tests:

        gulp test             // to run tests and watch
        gulp test-single-run  // to run tests only once
    

build step not needed to run the tests, since is already included in the test task.

  • Start the app and watch changes:

        gulp dev-server       // livereload enabled
    

the app will be available at http://localhost:4000.