https://github.com/cmdwtf/numberstones
Digital only clicky clack math rocks.
https://github.com/cmdwtf/numberstones
dice dice-roller dotnet dotnet-core parser parser-combinators random random-generation
Last synced: 18 days ago
JSON representation
Digital only clicky clack math rocks.
- Host: GitHub
- URL: https://github.com/cmdwtf/numberstones
- Owner: cmdwtf
- License: 0bsd
- Created: 2021-05-06T18:07:54.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-28T18:15:23.000Z (over 4 years ago)
- Last Synced: 2026-05-05T10:12:18.540Z (about 2 months ago)
- Topics: dice, dice-roller, dotnet, dotnet-core, parser, parser-combinators, random, random-generation
- Language: C#
- Homepage: https://cmd.wtf/projects#numberstones
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔢💎 NumberStones
A .NET library that parses expressions to roll dice, and other such random things.
## 🥅 Project Goals
Provide a simple, easy to use interface for dice rolling and simple mathematic expression solving.
## 💡 Inspiration
NumberStones was born out of a desire to replace the late [Sidekick](https://github.com/ArtemGr/Sidekick) Discord bot. There's a lot of functionality missing and a long way to go, but this library will serve as the RNG backend for [MathRox](https://github.com/cmdwtf/MathRox): the Discord front end for NumberStones.
## 📝 License
NumberStones is licensed under the Zero-Clause BSD License (SPDX-License-Identifier: 0BSD). If you're interested in NumberStones under other terms, please contact the authors. NumberStones makes use of several open source packages. Those packages are each covered by their own copyrights and licenses, which are available via the tooling you use to restore the packages when building. As well, some individual files are licensed separately, as designated at the top of those files.
Copyright © 2021 [Chris March Dailey](https://cmd.wtf)
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
### Licensed Software
NumberStones makes uses of several licensed portions of code, each licensed under their own terms by their authors. In particular, some of those software licenses require the following notices.
- Portions of the code (particularly that in `Source/Random`) based on the work of Faron Bracy from the [RogueSharp](https://github.com/FaronBracy/RogueSharp) project. Original work was licensed under the MIT license. See `.licenses/RogueSharp_LICENSE.txt` for more details.
- Some portions of code, particularly some class names and documentation are from the work of Chris Wagner and Ed Ropple from the [DiceNotation](https://github.com/eropple/DiceNotation) project. Original work was licensed under the MIT license. See `.licenses/DiceNotation_LICENSE.txt` for more details.
- The nuget package `superpower` is licensed under the Apache License 2.0 from [datalust/superpower](https://github.com/datalust/superpower/blob/dev/LICENSE).