Skip to main content

generate_random_game_options

Function generate_random_game_options 

Source
pub fn generate_random_game_options() -> GameOptions
Expand description

Generates a new GameOptions instance with randomized parameters using weighted distributions.

The resulting options span larger parameter ranges while favoring balanced, playable values. The random field on the returned struct is set to true.