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.
Required Ruby Version
>= 3.2.0
Authors
Santiago Calderon
Versions
-
0.1.3
-
source
- 0.1.3 source September 26, 2025 (84 KB)
-
-
0.1.2
-
source
- 0.1.2 source September 25, 2025 (43 KB)
-
-
0.1.1
-
source
- 0.1.1 source September 25, 2025 (23 KB)
-
-
0.1.0
-
source
- 0.1.0 source September 25, 2025 (12 KB)
-