penguins
1.0.0
|
Various parameters for the bot algorithm.
Mainly used for configuring the bot to be a dumber opponent for testing.
Data Fields | |
BotPlacementStrategy | placement_strategy |
BOT_PLACEMENT_SMART by default. More... | |
int | placement_scan_area |
An area surrounding the placement tile which bot_rate_placement considers. More... | |
BotMovementStrategy | movement_strategy |
BOT_MOVEMENT_SMART by default. More... | |
int | max_move_length |
The maximum number of tiles allowed for bot's moves, must be positive. More... | |
int | recursion_limit |
The maximum recursion depth, must be positive. Zero means no recursion. More... | |
int | junction_check_recursion_limit |
The maximum recursion depth at which junction checks are performed. More... | |
Related Functions | |
(Note that these are not member functions.) | |
void | init_bot_parameters (BotParameters *self) |
Initializes all fields of the given BotParameters to default values. More... | |
BotPlacementStrategy BotParameters::placement_strategy |
BOT_PLACEMENT_SMART by default.
Definition at line 46 of file bot.h.
Referenced by parse_arguments().
int BotParameters::placement_scan_area |
An area surrounding the placement tile which bot_rate_placement considers.
Definition at line 48 of file bot.h.
Referenced by parse_arguments().
BotMovementStrategy BotParameters::movement_strategy |
BOT_MOVEMENT_SMART by default.
Definition at line 50 of file bot.h.
Referenced by parse_arguments().
int BotParameters::max_move_length |
The maximum number of tiles allowed for bot's moves, must be positive.
Definition at line 52 of file bot.h.
Referenced by parse_arguments().
int BotParameters::recursion_limit |
The maximum recursion depth, must be positive. Zero means no recursion.
Definition at line 54 of file bot.h.
Referenced by parse_arguments().
int BotParameters::junction_check_recursion_limit |
The maximum recursion depth at which junction checks are performed.
Definition at line 56 of file bot.h.
Referenced by parse_arguments().
|
related |
Initializes all fields of the given BotParameters to default values.
Definition at line 31 of file bot.c.
Referenced by init_arguments().