Skip to main content

PARAMS_HEADER

Constant PARAMS_HEADER 

Source
const PARAMS_HEADER: &str = r#"
# Snake Game Configuration
# ---------------------------
# negative_size_fruits: allow fruits that can shrink the snake
# fruit_timer:      enable fruit lifetime countdown and auto-replacement
# fruit_duration_seconds: base lifetime of a fruit before multipliers are applied
# caps_fps:         Enable frame limiting (default to true, false = no limit)
# life:             starting lives
# nb_of_fruits:     number of fruits available in the game at once
# body_symbol:      character for the snake's body  
# head_symbol:      character for the snake's head
# snake_length:     initial length of the snake
# speed:            speed of the snake (Slow, Normal, Fast, Crazy)
# log_level:        logging level (off, error, warn, info, debug, trace)
"#;