simplify gobang states