Amazon Interview Question

How would you build Minsweeper?