...
The problem with this approach that my program only plays correctly when
the seki is easy to read. ...
A second approach is to implement static algorithms that detects seki
without search. If this is done efficiently then no search is necessary.
The problem of this approach is that you will only be able to find
certain classes of seki if your algorithm is not general enough. There
are many rare kinds of seki that are easy to miss with static analysis.
i doubt that static analysis can work (i am not an ai person)