overworld_progression

Crates.iooverworld_progression
lib.rsoverworld_progression
version0.5.0
sourcesrc
created_at2023-09-28 19:19:29.513289
updated_at2024-02-17 13:36:51.6419
descriptionOverworld Progression Library - Experience, Milestone and Level progression
homepagehttps://github.com/Liefland/overworld
repositoryhttps://github.com/Liefland/overworld
max_upload_size
id986535
size19,499
Jos Ahrens (Zarthus)

documentation

README

overworld

A library of incremental game / management related reusable components.

Installation

There are several ways to install Overworld:

From the metapackage

  1. cargo add overworld

  2. Configure the features you want

    1. the default are a sane set
    2. all for all features
    3. or some of the virtual features likes rpg, management, incremental for packages used often in those genres of games
    4. specific features for only a subset, such as: dice, progression
  3. Time to start using it!

By specific components

You can cargo add overworld_COMPONENTNAME (cargo add overworld_progression) if you just want a single crate (in some cases, they may depend on other crates in this repository.)

Examples

use overworld::roll::Die;
// overworld_dice::roll:Die; if not using metapackage

fn main() {
    let d6 = Die::new(6);
    println!("You rolled a {}", d6.roll());
    // You rolled a 6
}

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

Licensed under the following licenses at your option:

Files in the project may not be copied, modified, or distributed except according to those terms.

Commit count: 42

cargo fmt