Started the AI gameloop