I wrote a java version. When the PC moves, it first grades all available cells, then chooses randomly from the most advantageous cells.
It's very difficult to beat. I might rewrite it in .net