pub fn new(product_name: String, tutorial: bool) -> Self {
        Self {
            product_name: product_name.into(),
            month: 0,
            time: 0,
            time_in_month: 0,
            next_task_id: 351,
            total_score: 0,
            score_in_month: 0,
            bugs: 6,
            bugs_fixed_in_month: 0,
            bugs_fixed_in_total: 0,
            complexity: 25,
            score_linger_rate: 0,
            tasks_backlog: vec![],
            tasks_candidate: vec![],
            tasks_progress: vec![],
            tasks_review: vec![],
            tasks_done: vec![],
            humans: vec![GameHuman::new(0, "You", "#fff", 50)],
            task_ingest_rate: 3,
            tutorial: if tutorial { Some(0) } else { None },
            ceo_message_delivered: false,
        }
    }
/// Create the world state of a brand new game
Create the world state of a brand new game
Create the world state of a brand new game
pub fn new(product_name: String, tutorial: bool) -> Self {
        Self {
            product_name: product_name.into(),
            month: 0,
            time: 0,
            time_in_month: 0,
            next_task_id: 351,
            total_score: 0,
            score_in_month: 0,
            bugs: 6,
            bugs_fixed_in_month: 0,
            bugs_fixed_in_total: 0,
            complexity: 25,
            score_linger_rate: 0,
            tasks_backlog: vec![],
            tasks_candidate: vec![],
            tasks_progress: vec![],
            tasks_review: vec![],
            tasks_done: vec![],
            humans: vec![GameHuman::new(0, "You", "#fff", 50)],
            task_ingest_rate: 3,
            tutorial: if tutorial { Some(0) } else { None },
            ceo_message_delivered: false,
        }
    }
pub fn new ( product_name : String , tutorial : bool ) -> Self { Self { product_name : product_name . into ( ) , month : 0 , time : 0 , time_in_month : 0 , next_task_id : 351 , total_score : 0 , score_in_month : 0 , bugs : 6 , bugs_fixed_in_month : 0 , bugs_fixed_in_total : 0 , complexity : 25 , score_linger_rate : 0 , tasks_backlog : vec ! [ ] , tasks_candidate : vec ! [ ] , tasks_progress : vec ! [ ] , tasks_review : vec ! [ ] , tasks_done : vec ! [ ] , humans : vec ! [ GameHuman new ( 0 " " " " 50 ) ] , task_ingest_rate : 3 , tutorial : if tutorial { Some ( 0 ) } else { None } , ceo_message_delivered : false , } }
Create the world state of a brand new game
Create the world state of a brand new game
product_name
String
tutorial
bool
product_name
String
tutorial
bool