BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

chansu

v0.1.3RubyGems· Ruby

Chansu is a Ruby DSL for working with randomness and probability. It provides helpers like `chance("35%")`, `dice(6, 3)`, and RPG-style aliases such as `d20` and `d100`. It also includes higher-level constructs like `often { ... }`, `rarely { ... }`, and `until_success` for expressive probabilistic logic. Useful for games, simulations, and playful Ruby experiments.

The verdict
Aging — last published 8 months ago — check before adopting. Check the repo for activity before adopting.
Check the repo for activity before adopting.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAging
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 8 months ago — check before adopting.
Popularity
10 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.1.38 months ago
  • 0.1.28 months ago
  • 0.1.18 months ago
  • 0.1.08 months ago
chansu — Chansu is a Ruby DSL for working with randomness and probability. It provides helpers like `chance("35%")`, `dice(6, 3)`, and RPG-style aliases such as `d20` and `d100`. It also includes higher-level constructs like `often { ... }`, `rarely { ... }`, and `until_success` for expressive probabilistic logic. Useful for games, simulations, and playful Ruby experiments. (Ruby / RubyGems) · Modules