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

  1. 0.1.3 September 26, 2025 (84 KB)
  2. 0.1.2 September 25, 2025 (43 KB)
  3. 0.1.1 September 25, 2025 (23 KB)
  4. 0.1.0 September 25, 2025 (12 KB)

Pushed by

SHA 256 checksum