ZZPot / AntiMine

Simple mine sweeper bot (OpenCV)
2 stars 0 forks source link

Tricks required #1

Open ZZPot opened 8 years ago

ZZPot commented 8 years ago

Some tricks like 1-1 or 1-2-1 will help it make safe moves.

ZZPot commented 8 years ago

Sometimes it doesn't find patterns. Dunno why.

ZZPot commented 8 years ago

Check only changed cells? +- size of pattern.

ZZPot commented 8 years ago

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.

ZZPot commented 8 years ago

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.

ZZPot commented 8 years ago

Vanguard cells created. But I'm still not sure in adding/deleting from set. Need new control info output.