fn generate_value(config: &Config) -> u8 {
    let mut rng = thread_rng();
    let value = rng.gen_range(GAME_RANGE);
    if (*config).debug {
        println!("{} Correct value: {}\n", "[Debug]".cyan(), value);
    }
    value
}
/// Generates a random value for the game.
Generates a random value for the game.
Generates a random value for the game .
fn generate_value(config: &Config) -> u8 {
    let mut rng = thread_rng();
    let value = rng.gen_range(GAME_RANGE);
    if (*config).debug {
        println!("{} Correct value: {}\n", "[Debug]".cyan(), value);
    }
    value
}
fn generate_value ( config : & Config ) -> u8 { let mut rng = thread_rng ( ) ; let value = rng . gen_range ( GAME_RANGE ) ; if ( * config ) . debug { println ! ( " \n " " " cyan ( ) value ) ; } value }
Generates a random value for the game.
Generates a random value for the game .
config
&Config
config
&Config