Spinner.py
import libpyAI as ai #This allows us to use the AI functions
def AI_loop(): #Our method to be called as AI_loop, can be anything
ai.turnLeft(1) #Bot code goes here
ai.start(AI_loop,["-name","Spinner"]) #Starts Xpilot-AI
No compilation necessary
To run:
python3 Spinner.py