/P4ng-client

Client side of P4ng

Primary LanguageJavaScriptMIT LicenseMIT

P4ng Build Status Coveralls branch Dependency Status Dev Dependency Status License: MIT

Greenkeeper badge

P4ng is a 4 player off and online version of the classic pong game by Team JaEGT.

Install

Notice :
We use a MongoDb database for test and server.
Make sure that you run it before running

Clone this repository :

$ git clone https://github.com/jy95/P4ng.git

Install with npm

$ npm install --production

Client Installation

You have two possibilities to install the client.
Choose the preferred way

Electron packaged client

First step : Install the electron-packager

$ npm install electron-packager -g

Second step : Run the script :

$ npm run packagerApp

This script is designed to work on Windows 32 bits
If you wish to change for your OS or architecture,
Change line 95 in scripts/packager-script.js to yours
https://github.com/electron-userland/electron-packager for more details

Last step : Run it :

Example from Windows CMD

 <path/to/packagedClient>/P4ng.exe

Electron unpackaged client

Simply run this :

$ npm run startClient

Server Installation

Simply run this :

$ npm run startServer

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Team JaEGT members

Jacques

Emilien

Gaël

Theodor

License

Copyright © 2016 Team JaEGT Licensed under the MIT license.