RubyGems Navigation menu

chansu 0.1.3

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.

Gemfile:
=

installieren:
=

Versionen:

  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)

Besitzer:

Pushed by:

Autoren:

  • Santiago Calderon

SHA 256-Prüfsumme:

=

Downloads insgesamt 963

Für diese Version 321

Version veröffentlicht:

Lizenz:

MIT

Erforderliche Ruby-Version: >= 3.2.0

Links: