https://github.com/bugthesystem/rock-paper-scissors-extended-nodejs
Rock, Paper, Scissors game implementation with additional weapons support.
https://github.com/bugthesystem/rock-paper-scissors-extended-nodejs
javascript rock-paper-scissors
Last synced: 7 months ago
JSON representation
Rock, Paper, Scissors game implementation with additional weapons support.
- Host: GitHub
- URL: https://github.com/bugthesystem/rock-paper-scissors-extended-nodejs
- Owner: bugthesystem
- License: mit
- Created: 2015-12-09T23:00:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T08:12:40.000Z (almost 9 years ago)
- Last Synced: 2025-02-14T13:06:24.454Z (over 1 year ago)
- Topics: javascript, rock-paper-scissors
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Rock, Paper, Scissors
================================
`Rock`, `Paper`, `Scissors` game implementation with additional weapons support.
>Rock-paper-scissors is a zero sum hand game usually played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand.
[](https://travis-ci.org/ziyasal/rospock-node) [](https://coveralls.io/github/ziyasal/rospock-node?branch=master)
## Requirements
### Node.js
Tested with node.js `v5.1.0 Stable`.
## Usage
### Install Dependencies
**On Windows**
```sh
npm install
```
**On Linux**
```sh
sudo npm install
```
### Commands
### Start Sample App
```sh
npm start
```
### Test
```sh
npm test
```
### Coverage
```sh
npm run test-cov
```
### JSHint Lib
```sh
npm run jshint-lib
```
### JSHint Tests
```sh
npm run jshint-tests
```
### Used 3.Party Testing Modules
[**mocha**](https://github.com/mochajs/mocha)
`Simple, flexible, fun javascript test framework for node.js & the browser.`
[**should**](https://github.com/shouldjs/should.js)
`BDD style assertions for node.js.`
[**sinon**](https://github.com/sinonjs/sinon)
`Standalone test spies, stubs and mocks for JavaScript.`
[**jshint**](https://github.com/jshint/jshint)
`JSHint is a tool that helps to detect errors and potential problems in your JavaScript code.`
[**istanbul**](https://github.com/gotwarlost/istanbul)
`JS code coverage tool that computes statement, line, function and branch coverage with
module loader hooks to transparently add coverage when running tests.`
[**proxyquire**](https://github.com/thlorenz/proxyquire)
_**This package was used for just the system packages.**_
`Proxies node.js require in order to allow overriding dependencies during testing.`