https://github.com/frankvd/r3d6
D&D dice roll parser
https://github.com/frankvd/r3d6
dungeons-and-dragons ruby
Last synced: 10 months ago
JSON representation
D&D dice roll parser
- Host: GitHub
- URL: https://github.com/frankvd/r3d6
- Owner: frankvd
- Created: 2024-01-06T13:01:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T22:37:49.000Z (over 2 years ago)
- Last Synced: 2025-02-23T05:23:06.535Z (over 1 year ago)
- Topics: dungeons-and-dragons, ruby
- Language: Ruby
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# R3D6

*Screenshot of the REPL frontend hosted at https://r3d6-web.treegnome.tech/repl*
This repository is split up into 3 projects:
- `parser/` contains a ruby gem that can parse and evaluate dice roll expressions such as `4d6d1 + 3`
- `api/` is a simple web server that uses the `r3d6-parser` gem to evaluate dice roll expressions:
- https://r3d6-api.treegnome.tech/4d6+d1+3
- `web/` includes two fronteds that use the `api`. A REPL like interface and a UI built with [Lit](https://lit.dev/):
- https://r3d6-web.treegnome.tech/repl
- https://r3d6-web.treegnome.tech