<commit_before># Battleship2.0 | Client repository
This is the client-side repository of the `Battleship2.0` game.
The server (NodeJS) repository is hosted at [https://github.com/battleship2/battleship2.0-server](https://github.com/battleship2/battleship2.0-server).

## Dependencies
The client relies on several well-known libraries such as:
- [Socket.IO](http://socket.io/)
- [Karma](https://karma-runner.github.io)
- [TypeScript](https://www.typescriptlang.org/)
- [Gulp](http://gulpjs.com/)
- ...

**Important note about Gulp:**
_The project is configured to use Gulp v4 and above.
Please refer to this [link](https://demisx.github.io/gulp4/2015/01/15/install-gulp4.html) to check how to configure it in your environment._

## Launch
From the project's root directory, type the following commands:

1. `npm install` -> Install the required dependencies
2. `gulp` or `npm start` -> Start the project

## Tests, Bugs & Contributions
While we do our best to get the whole project tested, do not hesitate to PR us if you ever find a bug. 
To launch all the tests, type the following command:

`gulp test` or `npm test`

## Working with the sources

The project offers a few helpers to make the running up faster.
Refer to this guide to know how and when to use them.

#### Cleaning up

* `gulp scratch`:
Clear the temporary files and set the project into a clean state.

#### Development

* `gulp ts`:
Compile TypeScript sources to JavaScript.

* `gulp serve && gulp browser`:
Starts the livereload server and opens the browser.

* `gulp bower`:
Binds the bower dependencies directly where they belong in the `index.html` file.<commit_msg>Missing Bower step in README<commit_after># Battleship2.0 | Client repository
This is the client-side repository of the `Battleship2.0` game.
The server (NodeJS) repository is hosted at [https://github.com/battleship2/battleship2.0-server](https://github.com/battleship2/battleship2.0-server).

## Dependencies
The client relies on several well-known libraries such as:
- [Socket.IO](http://socket.io/)
- [Karma](https://karma-runner.github.io)
- [TypeScript](https://www.typescriptlang.org/)
- [Gulp](http://gulpjs.com/)
- ...

**Important note about Gulp:**
_The project is configured to use Gulp v4 and above.
Please refer to this [link](https://demisx.github.io/gulp4/2015/01/15/install-gulp4.html) to check how to configure it in your environment._

## Launch
From the project's root directory, type the following commands:

1. `npm install` -> Install the required NPM dependencies
1. `bower install` -> Install the required Bower dependencies
2. `gulp` or `npm start` -> Start the project

## Tests, Bugs & Contributions
While we do our best to get the whole project tested, do not hesitate to PR us if you ever find a bug. 
To launch all the tests, type the following command:

`gulp test` or `npm test`

## Working with the sources

The project offers a few helpers to make the running up faster.
Refer to this guide to know how and when to use them.

#### Cleaning up

* `gulp scratch`:
Clear the temporary files and set the project into a clean state.

#### Development

* `gulp ts`:
Compile TypeScript sources to JavaScript.

* `gulp serve && gulp browser`:
Starts the livereload server and opens the browser.

* `gulp bower`:
Binds the bower dependencies directly where they belong in the `index.html` file.
{'fraction_non_alphanumeric': 0.10509080083358142, 'fraction_numerical': 0.013992259601071748, 'mean_word_length': 4.2255054432348365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3884498', 'n_tokens_mistral': 1049, 'n_tokens_neox': 1006, 'n_words': 424}