I was able to get 5 points by getting to the point where it starts giving you 4x1 tiles, and stacking them up on the sides to fill in a bunch of area. The gap I left was 4 tiles wide for a while, and that was a good idea
That doesn't mean he didn't use a program... of course, the tree is pretty large, probably similar to chess. You'd have to have some basis for pruning, and then you wouldn't be able to prove optimality without a lot of work
anyway, I'm not interested enough to write it myself