@mateo-wallace/rpg-dice-js
v2.0.1
Published
Npm package that allows users to roll dice with all math and various forms of response
Downloads
8
Maintainers
Readme
npm i @mateo-wallace/rpg-dice-js
About The Project
rpg-dice-js is an npm package that allows a user to send an input to a roll()
function with no need to make random number logic. It was specifically built to comply with the dice of games such as Dungeons and Dragons or Pathfinder.
Main Features:
- Settings adjustment within a
Dice
model - User input of all kinds accepted
- Dice response object with robust information such as
input
,result
,total
, etc...
See the Quick Start guide to see how to implement rpg-dice-js into your code!
Built With
Documentation
Visit the rpg-dice-js docs for in depth descriptions on requiring the package, customizing the Dice
class, calling the roll()
function, and more.
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
If all of this is new to you take a look at the GitHub Docs.
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Mateo Wallace
- GitHub - github.com/Mateo-Wallace
- Email - [email protected]
- LinkedIn - linkedin.com/in/mateo-wallace/
- Portfolio - mateo-wallace.github.io/
Acknowledgments
I am appreciative for the source code, ideas, and inspiration that all of these repos and creators have provided to this project. If you see anything within my code that you recognize as yours and don't see yourself listed here please feel free to open an issue and I will add you!