Crates.io | overworld_affinity |
lib.rs | overworld_affinity |
version | 0.1.0 |
source | src |
created_at | 2024-02-17 13:36:53.253976 |
updated_at | 2024-02-17 13:36:53.253976 |
description | Overworld Affinity Library - Affinity and Multipliers |
homepage | https://github.com/Liefland/overworld |
repository | https://github.com/Liefland/overworld |
max_upload_size | |
id | 1143218 |
size | 17,802 |
A library of incremental game / management related reusable components.
There are several ways to install Overworld:
cargo add overworld
Configure the features you want
default
are a sane setall
for all featuresrpg
, management
, incremental
for packages used often in those genres of gamesdice
, progression
Time to start using it!
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.)
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
}
Contributions are welcome! Feel free to open an issue or submit a pull request.
Licensed under the following licenses at your option:
Files in the project may not be copied, modified, or distributed except according to those terms.