Enviroment variables
Each entry heading takes the format of env.<VARIABLE_NAME>: <type> = <default>
Visit the Introduction > Debugging section for information on how to set enviroment variables.
- env.DEBUG: int = 0
The debugging level.
- Supported debugging levels:
0: No debugging.1: Renders debbuging information onto the screen and prints some basic statistics to stdout.2: Profiles the AI’s minimax algorithm.3: Dumps data for each visited node in the AI’s minimax algorithm.
- env.TARGET_TIME: int = 1500
How long the AI should calculate for, in milliseconds, per turn.
This is used to determine the search depth. Note that this will be the average time taken up by the AI. The amount of time taken up by each computation will vary somewhat.
- env.MINIMUM_DEPTH: int = 7
The minimum depth to search to.
This is also used as the initial search depth. Every search will be at least this deep (unless the game ends before reach this depth).