Changes between Version 11 and Version 12 of PetraBot


Ignore:
Timestamp:
Jan 20, 2017, 5:05:22 PM (7 years ago)
Author:
elexis
Comment:

Update to https://code.wildfiregames.com/D65

Legend:

Unmodified
Added
Removed
Modified
  • PetraBot

    v11 v12  
    8888* 2 = debug printouts for the main AI's decisions and detailed lists of resources and queues at regular time intervals.
    8989* 3 = much detailed printouts.
     90
     91=== Batch simulating games ===
     92The behavior of the AI can be tested by running multiple games consecutively,
     93for example by analyzing the summary screen data at the end of the game from the replay menu.
     94
     95As described in source:/ps/trunk/binaries/system/readme.txt, a new match can be started directly by passing the mapname and player assignments as command line arguments.
     96
     97Add an `API3.exit()` statement to an arbitrary place of the AI code or
     98an `Engine.ExitProgram()` statement to the GUI code (for example if all players have been defeated or won in `messages.js`).
     99
     100Using a unix shell or windows batch script allows to repeatedly start matches after the previous pyrogenesis instance exited.