Click hexes to wall off the AI's escape routes. Let it reach the dashed edge and it gets out — surround it first and you win.
Based on the classic hex-grid puzzle popularized by Trap the Cat.
The AI has nowhere left to go.