I eventually found a strategy of basically trying to fill every "even" space around the edge, and then only filling in the odd ones when the cat was 1 space away from entering the edge-ring. This would allow me enough time to enclose the entire board, after which trapping the cat into a single space is just a matter of time