Open ZZPot opened 8 years ago
Sometimes it doesn't find patterns. Dunno why.
Check only changed cells? +- size of pattern.
Works fine, BUT for testing I undef PARSE_SINGLE and set same mine field after each Move(). It should know every cell before make right move.
After Move() _changed will be cleared and information about "potencial" pattern cells lost. Maybe it need some kind of "vanguard" cells, that are CELL_SAFE and touch CELL_UNKNOWN. Like "complete" state.
Vanguard cells created. But I'm still not sure in adding/deleting from set. Need new control info output.
Some tricks like 1-1 or 1-2-1 will help it make safe moves.