Amazon interview question

How would you build Minsweeper?