Package Exports
- react-slot-machine-gen
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-slot-machine-gen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Slot Machine Generator
Create an extremely biased, web-based slot machine game.
Features
- Faux-panoramic reel animations (without
<canvas>
) - Support for single/multi-line reels and pay-lines.
- Pseudo-random selections by configured weight.
- Configurable RNG (to make it less biased)
- Easy to set-up and customize.
Checkout the demo for examples of use.
Dependencies
Installation
Install the package into your project using NPM, or download the sources.
$ npm install react-slot-machine-gen
Documentation
Developers
CLI options
Run ESLint on project sources:
$ npm run lint
Transpile ES6 sources (using Babel) and minify to a distribution:
$ npm run build
Bundle demo sources (using Webpack):
$ npm run webpack
Contributions
If you fix a bug, or have a code you want to contribute, please send a pull-request with your changes. (Note: Before committing your code please ensure that you are following the Node.js style guide)
Versioning
This package is maintained under the Semantic Versioning guidelines.
License and Warranty
This package is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
react-slot-machine-gen is provided under the terms of the MIT license