In Xpilot-AI, 0 degrees is to the right and 90 degrees is up.
Please note that many of the item related functions simulate keypresses. So, for example, if pressing Tab would not place a mine (say, because you have none), dropMine will not either.
ID functions refer to a specific ship's ID, while IDX functions refer to the ship's index within your buffer.
headlessMode() - Execute this before start to run windowless.
start(int argc, char* argv[]) - [C] Initializes the AI interface and starts Xpilot
Class var = new Class(String[] args); - [Java] Initializes the AI interface and starts Xpilot
start(func, ["listof","args"]) - [Python] Initializes the AI interface and starts Xpilot
(start func '("listof" "args") - [Racket] Initializes the AI interface and starts Xpilot