title: algorithm to search empty cells in minesweeper
body: <p>Im creating a minesweeper and just wondering what is the best algorithm to search all the empty cells when the user press the empty cell then grow and limit to the border until it reaches the bomb cell. I planning to use recursive search but probably it will slow the process.</p>
  
  <p>Thanks.</p>