main
HeNine 2 years ago
parent b7c5e7a37a
commit d242824904

@ -1,5 +1,5 @@
[package] [package]
name = 'simrust' name = 'kartsimrust'
version = '0.1.0' version = '0.1.0'
edition = '2021' edition = '2021'

@ -5,7 +5,7 @@ use std::{
use rand::{seq::SliceRandom, thread_rng}; use rand::{seq::SliceRandom, thread_rng};
// use rayon::prelude::*; // use rayon::prelude::*;
use simrust::{ use kartsimrust::{
character::Character, character::Character,
combat::{make_them_fight, EncounterType}, combat::{make_them_fight, EncounterType},
random_character::random_character, random_character::random_character,

@ -1,4 +1,4 @@
use simrust::{ use kartsimrust::{
character::create_character, character::create_character,
class::Class, class::Class,
combat::EncounterType, combat::EncounterType,

@ -1,4 +1,4 @@
use simrust::{ use kartsimrust::{
character::create_character, character::create_character,
class::Class, class::Class,
combat::EncounterType, combat::EncounterType,

@ -1,4 +1,4 @@
use simrust::{ use kartsimrust::{
character::create_character, character::create_character,
class::Class, class::Class,
equipment::{Armor, WeaponType}, equipment::{Armor, WeaponType},

@ -1,15 +1,6 @@
use simrust::{random_character::{random_character}, combat::EncounterType}; use kartsimrust::{combat::EncounterType, random_character::random_character};
fn main() { fn main() {
// for _i in 0..10 {
// let sb = random_stat_adjust();
// println!("{:?}", sb);
// println!(
// "{:?}",
// Vec::from(sb).iter().map(|x| { x.abs() }).sum::<i64>() / 2
// );
// }
for _i in 0..3 { for _i in 0..3 {
let mut c = random_character(); let mut c = random_character();
c.init_dice_pool(EncounterType::Physical); c.init_dice_pool(EncounterType::Physical);

Loading…
Cancel
Save