This opens up some interesting possibilities:
1. Task assistance
For example the human could in-game message themselves (by prefixing the message with their player number if I understand correctly) and their rules.js AI will be able to hear that message and act on it. For example, if I'm player 1 I could:
Code: Select all
1 research vtolAnd rules.js could start researching me towards VTOL tech and let me know when I can start building VTOLs.
2. Status reports
rules.js could tell me about enemy activity - not just that my building was attacked (like it does already) but warnings when enemy VTOLs are spotted, or when an enemy is attacking my oil derrick, etc.
3. Advice / Training
rules.js could have a feature that players could turn on to get advice/training - for example it could recommend an improved building order at the start of the game, or it could recommend which droids/defences to use based on what the enemy is attacking with.

