An AI for BWAPI