Menu

createlinks

Richard Hendricks

This module goes through each planet, determining planets within 1 turn, 2 turns, HYP min/max radius distances away; these lists are saved per planet, allowing for this module to be skipped on subsequent runs.

if module has been run before, load results and skip module
determine planets within 1 turn, add to specified list
determine planets within 2 turns, add to specified list
determine planets within HYP min/max radius, add to specified list
save results to file using game id. (multiple AIs in the same game can share)

NOTE

  • Need to accommodate warp wells.

MongoDB Logo MongoDB